Web: Files: FilesStore: Restored download-as for edited files
This commit is contained in:
parent
78dcb14d1e
commit
4ea8375fd2
@ -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"]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user