Skip to content
Snippets Groups Projects
Commit 0f2a815f authored by Steinwender, Tamara's avatar Steinwender, Tamara
Browse files

Fix bug for all allowed mimetypes ins file-handling

parent 6a2cbef6
No related branches found
No related tags found
No related merge requests found
Pipeline #24065 passed
......@@ -510,7 +510,7 @@ export class FileSource extends ScopedElementsMixin(DBPLitElement) {
let allowedMimeTypes = this.allowedMimeTypes;
const isClipboardHidden = !this.showClipboard;
if (this.decompressZip) {
if (this.decompressZip && this.allowedMimeTypes !== "*/*") {
allowedMimeTypes += ",application/zip,application/x-zip-compressed";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment