diff --git a/frontend/src/app/framework/angular/forms/file-drop.directive.ts b/frontend/src/app/framework/angular/forms/file-drop.directive.ts index e57658b84..87f4080a2 100644 --- a/frontend/src/app/framework/angular/forms/file-drop.directive.ts +++ b/frontend/src/app/framework/angular/forms/file-drop.directive.ts @@ -128,7 +128,7 @@ export class FileDropDirective { for (const item of items) { const file = item.getAsFile(); - if (file && !!file.type && this.isAllowedFile(file)) { + if (file && this.isAllowedFile(file)) { files.push(file); } }