Merge branch 'patch-1' of git://github.com/bensgroi/ng2-file-upload into bensgroi-patch-1

Conflicts:
	components/file-upload/file-uploader.class.ts
This commit is contained in:
Dmitriy Shekhovtsov
2016-05-11 19:16:47 +03:00

View File

@@ -298,7 +298,7 @@ export class FileUploader {
}
private _queueLimitFilter():boolean {
return this.queue.length < this.queueLimit;
return this.queueLimit === undefined || this.queue.length < this.queueLimit;
}
private _isValidFile(file:any, filters:any, options:any):boolean {