Browse Source

Allow file drop without supported mime type.

pull/892/head
Sebastian 4 years ago
parent
commit
7460cc0fe3
  1. 2
      frontend/src/app/framework/angular/forms/file-drop.directive.ts

2
frontend/src/app/framework/angular/forms/file-drop.directive.ts

@ -128,7 +128,7 @@ export class FileDropDirective {
for (const item of items) { for (const item of items) {
const file = item.getAsFile(); const file = item.getAsFile();
if (file && !!file.type && this.isAllowedFile(file)) { if (file && this.isAllowedFile(file)) {
files.push(file); files.push(file);
} }
} }

Loading…
Cancel
Save