Fix Bug 67306

Share in the folder menu in My Documents for the Power user
This commit is contained in:
Viktor Fomin 2024-04-05 16:21:45 +03:00
parent e749df65c5
commit fb1e68871c

View File

@ -1011,7 +1011,7 @@ class ContextOptionsStore {
item.providerKey && item.id === item.rootFolderId;
const isShareable = this.treeFoldersStore.isPersonalRoom
? item.canShare || item.isFolder
? item.canShare || (!this.userStore.user?.isCollaborator && item.isFolder)
: false;
const isMedia =