Merge pull request #318 from ONLYOFFICE/bugfix/remove-access-btn

Bugfix/remove access btn
This commit is contained in:
Ilya Oleshko 2021-08-06 17:09:19 +03:00 committed by GitHub
commit 968be4a529
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -444,6 +444,10 @@ class SectionHeaderContent extends React.Component {
menu.splice(4, 1);
}
if (isRecentFolder || isFavoritesFolder) {
menu.splice(1, 1);
}
if ((personal && !isWebEditSelected) || selectionCount > 1) {
menu.splice(1, 1);
}