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-read",
|
||||||
"mark-as-favorite",
|
"mark-as-favorite",
|
||||||
"download",
|
"download",
|
||||||
//"download-as",
|
"download-as",
|
||||||
"convert",
|
"convert",
|
||||||
"move", //category
|
"move", //category
|
||||||
"move-to",
|
"move-to",
|
||||||
@ -426,6 +426,10 @@ class FilesStore {
|
|||||||
"delete",
|
"delete",
|
||||||
];
|
];
|
||||||
|
|
||||||
|
if (!this.isWebEditSelected) {
|
||||||
|
fileOptions = this.removeOptions(fileOptions, ["download-as"]);
|
||||||
|
}
|
||||||
|
|
||||||
if (!canConvert || isEncrypted) {
|
if (!canConvert || isEncrypted) {
|
||||||
fileOptions = this.removeOptions(fileOptions, ["convert"]);
|
fileOptions = this.removeOptions(fileOptions, ["convert"]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user