From d12aacabcbbd02e1484f1a84fa7300241a1d7f00 Mon Sep 17 00:00:00 2001 From: Thomas Meitz Date: Thu, 9 Nov 2017 14:59:12 +0100 Subject: [PATCH] bug fix --- src/ngx-uploader/classes/ngx-uploader.class.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }