Web: Files: Embedding: removed embedding option for files without viewing
This commit is contained in:
parent
5010799f8c
commit
ee9cb0f200
@ -2134,7 +2134,10 @@ class FilesStore {
|
||||
}
|
||||
|
||||
if (!canViewFile || isRecycleBinFolder) {
|
||||
fileOptions = this.removeOptions(fileOptions, ["preview"]);
|
||||
fileOptions = this.removeOptions(fileOptions, [
|
||||
"preview",
|
||||
"embedding-settings",
|
||||
]);
|
||||
}
|
||||
|
||||
if (!canOpenPlayer || isRecycleBinFolder) {
|
||||
|
Loading…
Reference in New Issue
Block a user