Skip to content

Commit

Permalink
fix: directive not set concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
kukhariev committed Jul 1, 2019
1 parent 6f06171 commit 7f8beab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/uploadx/src/uploadx.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export class UploadxService {
*/
handleFileList(fileList: FileList, options = {} as UploadxOptions): void {
const instanceOptions = { ...this.options, ...options };
this.options.concurrency = instanceOptions.concurrency;
Array.from(fileList).forEach(file => this.addUploaderInstance(file, instanceOptions));
this.autoUploadFiles();
}
Expand Down

0 comments on commit 7f8beab

Please sign in to comment.