Skip to content

Commit

Permalink
fix issue #77 (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
palpa authored and jkuri committed Nov 21, 2016
1 parent b7d9586 commit 00b39fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/ng2-uploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 00b39fd

Please sign in to comment.