Web:Client:Store:ProfileActionsStore Fixed bug 61959
This commit is contained in:
parent
7e7f07cf67
commit
927028665f
@ -94,8 +94,9 @@ class ProfileActionsStore {
|
||||
onProfileClick = () => {
|
||||
//TODO: add check manager
|
||||
const { isAdmin, isOwner } = this.authStore.userStore.user;
|
||||
const { isRoomAdmin } = this.authStore;
|
||||
|
||||
if (isAdmin || isOwner) {
|
||||
if (isAdmin || isOwner || isRoomAdmin) {
|
||||
this.selectedFolderStore.setSelectedFolder(null);
|
||||
this.treeFoldersStore.setSelectedNode(["accounts"]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user