DoSomething / aurora

:crescent_moon: The DoSomething.org admin interface.
https://admin.dosomething.org
MIT License
1 stars 2 forks source link

Edit refer-friends feature flag #221

Closed aaronschachter closed 5 years ago

aaronschachter commented 5 years ago

This PR adds support to edit the refer-friends feature flag value introduced in https://github.com/DoSomething/northstar/pull/915.

220 did not let admins remove the badges feature flag by disabling the input, but it's pretty tricky to keep this logic for two checkboxes: If a user has the badges flag, the input is disabled. We want to give them the refer-friends feature flag, save, but then the user no longer has the badges flag because the input was disabled. I decided to go for a simpler approach by just making both flags editable. cc @ngjo