From b9af04dffd9936333f2523ff8c54c31b22bdbb2a Mon Sep 17 00:00:00 2001 From: Simon Janssens Date: Tue, 23 Apr 2024 11:39:56 +0200 Subject: [PATCH] Fileupload fix auto upload --- src/app/components/fileupload/fileupload.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/fileupload/fileupload.ts b/src/app/components/fileupload/fileupload.ts index 16b25fb0a22..7c4feb649ad 100755 --- a/src/app/components/fileupload/fileupload.ts +++ b/src/app/components/fileupload/fileupload.ts @@ -561,7 +561,7 @@ export class FileUpload implements AfterViewInit, AfterContentInit, OnInit, OnDe this.checkFileLimit(); } - if (this.hasFiles() && this.auto && (!(this.mode === 'advanced') || !this.isFileLimitExceeded())) { + if (this.hasFiles() && this.auto && (this.mode !== 'advanced' || !this.isFileLimitExceeded())) { this.upload(); }