diff --git a/src/ngx-uploader/classes/ngx-uploader.class.ts b/src/ngx-uploader/classes/ngx-uploader.class.ts index 97aa72f1..ab19d8ff 100644 --- a/src/ngx-uploader/classes/ngx-uploader.class.ts +++ b/src/ngx-uploader/classes/ngx-uploader.class.ts @@ -259,7 +259,7 @@ export class NgUploaderService { if (this.allContentTypesAllowed()) { return true; } - if (this.contentTypes.find((type: string) => type === mimetype ) != undefined) { + if (this.contentTypes.find((type: string) => type === mimetype ) !== undefined) { return true; }