You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
After a failed role change, the share still shows the new role #3901
Make the next role change fail (e.g. the share was removed elsewhere, so the PATCH returns 500).
Change the role via the role dropdown.
Expected
An error is shown and the dropdown reverts to the previously saved role.
Actual
The error toast appears (PATCH 500), but the dropdown keeps showing the new, unsaved role.
Cause
packages/web-app-files/src/components/SideBar/Shares/Collaborators/RoleDropdown.vue sets selectedRole before the save; .../Collaborators/ListItem.vue does not revert it when the save fails.
Activity