Leaving subgroup from Group dashboard retains parent group in list
Summary
most details are in the list of "Steps to reproduce", but I must note here that this only seems to affect the "Leave Group" button for a group that's nested inside another one. the same button on a top level group doesn't seem to behave like this.
Steps to reproduce
- load the page at
/dashboard/groups
- expand a view for a group with subgroups
- click the "Leave Group" button for any subgroup
What is the current bug behavior?
the confirmation modal pops up, but the browser also starts navigating to the target group's view, the same as a click on the group name itself.
What is the expected correct behavior?
the confirmation modal should show (as it does), but the click event on this button shouldn't navigate to the group's view.
Edited by Mark Fletcher