Web: Files: Store: Fixed displaying edit action for files with low access

This commit is contained in:
Ilya Oleshko 2021-05-19 17:54:29 +03:00
parent 666cc00a52
commit e268b077df

View File

@ -618,6 +618,10 @@ class FilesStore {
}
if (isShareItem) {
if (!isFullAccess) {
fileOptions = this.removeOptions(fileOptions, ["edit"]);
}
if (isShareFolder) {
fileOptions = this.removeOptions(fileOptions, [
"copy",