diff --git a/src/services/ng2-uploader.ts b/src/services/ng2-uploader.ts index ba00a0f0..4352440c 100644 --- a/src/services/ng2-uploader.ts +++ b/src/services/ng2-uploader.ts @@ -207,6 +207,7 @@ export class Ng2Uploader { } addFilesToQueue(files: File[]): void { + this.clearQueue(); files.forEach((file: File, i: number) => { if (this.isFile(file) && !this.inQueue(file)) { this._queue.push(file);