Web: Files: FilesStore: Restored download-as for edited files

This commit is contained in:
Ilya Oleshko 2021-04-14 12:55:10 +03:00
parent 78dcb14d1e
commit 4ea8375fd2

View File

@ -412,7 +412,7 @@ class FilesStore {
"mark-read",
"mark-as-favorite",
"download",
//"download-as",
"download-as",
"convert",
"move", //category
"move-to",
@ -426,6 +426,10 @@ class FilesStore {
"delete",
];
if (!this.isWebEditSelected) {
fileOptions = this.removeOptions(fileOptions, ["download-as"]);
}
if (!canConvert || isEncrypted) {
fileOptions = this.removeOptions(fileOptions, ["convert"]);
}