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
1) Create an activity with a sign-up list that does not have any fields.
2) Subscribe to that activity.
3) 'Update subscription'-button and modal are shown
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
1) Create an activity with a sign-up list that does not have any fields. 2) Subscribe to that activity. 3) 'Update subscription'-button and modal are shown
Website version
69b45e7958c0347871c3c6a1afd5f503a0a7c99d
What operating are you seeing the problem on?
No response
What browsers are you seeing the problem on?
No response
Other information
No response