Do not show 'update subscription' if sign-up list has no fields
tomudding opened this issue · 0 comments
tomudding commented
Current behaviour
Currently, the "update subscription" button and modal are always shown when a member can still update their subscription.
Desired behaviour
The button and modal should not be accessible/work when the sign-up list for that subscription does not have any fields. The reasoning for this is that there is nothing to update for that subscription.
Ideally, we also add a check for this in signupAction()
.
Steps to reproduce
- Create an activity with a sign-up list that does not have any fields.
- Subscribe to that activity.
- 'Update subscription'-button and modal are shown
Website version
What operating are you seeing the problem on?
No response
What browsers are you seeing the problem on?
No response
Other information
No response