Web: Files: Store: Fixed displaying delete context option if not accessed

This commit is contained in:
Ilya Oleshko 2021-04-29 16:17:18 +03:00
parent 12972dafa7
commit 804be561fb

View File

@ -605,7 +605,7 @@ class FilesStore {
}
if (isShareFolder) {
fileOptions = this.removeOptions(fileOptions, ["move-to"]);
fileOptions = this.removeOptions(fileOptions, ["move-to", "delete"]);
}
return fileOptions;