Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

🐛 Fixed ability to submit invite form with a missing role #1080

Merged

Conversation

kevinansfield
Copy link
Member

refs TryGhost/Ghost#10071

  • moved roles fetch request into an ember-concurrency task
  • use the task's derived state to disable the submit button whilst fetching
  • added role presence check to the invite user validator and updated template to display the error

refs TryGhost/Ghost#10071
- moved roles fetch request into an ember-concurrency task
- use the task's derived state to disable the submit button whilst fetching
- added role presence check to the invite user validator and updated template to display the error
@kevinansfield kevinansfield force-pushed the fix-missing-invite-role branch from 44994c4 to 452aad7 Compare December 10, 2018 13:54
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 71.34% when pulling 452aad7 on kevinansfield:fix-missing-invite-role into 02b750e on TryGhost:master.

@kevinansfield kevinansfield merged commit 61ffb51 into TryGhost:master Dec 10, 2018
@kevinansfield kevinansfield deleted the fix-missing-invite-role branch December 10, 2018 14:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants