feat(web): allow changing shared user role in album options modal (#13654)

* enable user options suggestion as workaround in top option menu in 
shared album

* PR Review changes:
Function rename to handleUpdateSharedUserRole
This commit is contained in:
Animesh Kotka
2024-10-22 18:04:38 +05:30
committed by GitHub
parent 13d2febc33
commit 45c86e95e8
2 changed files with 37 additions and 2 deletions
@@ -747,6 +747,7 @@
await setModeToView();
}}
onRemove={(userId) => handleRemoveUser(userId, ViewMode.OPTIONS)}
onRefreshAlbum={refreshAlbum}
onClose={() => (viewMode = ViewMode.VIEW)}
onToggleEnabledActivity={handleToggleEnableActivity}
onShowSelectSharedUser={() => (viewMode = ViewMode.SELECT_USERS)}