Compare commits

..

1 Commits

Author SHA1 Message Date
xCall
c80746bfe7 problem solved for using csv file 2022-08-30 08:55:55 -03:00
3 changed files with 13896 additions and 2 deletions

View File

@@ -115,6 +115,7 @@ export class FileType {
'3dm': 'image',
mp3: 'audio',
wav: 'audio',
csv: 'xls',
wma: 'audio',
mod: 'audio',
m4a: 'audio',

View File

@@ -117,7 +117,7 @@ export class FileUploader {
this.queue.push(fileItem);
this._onAfterAddingFile(fileItem);
} else {
if (typeof this._failFilterIndex === 'number' && this._failFilterIndex >= 0) {
if (this._failFilterIndex) {
const filter = arrayOfFilters[ this._failFilterIndex ];
this._onWhenAddingFileFailed(temp, filter, options);
}
@@ -434,7 +434,7 @@ export class FileUploader {
this._failFilterIndex = -1;
return !filters.length ? true : filters.every((filter: FilterFunction) => {
if (typeof this._failFilterIndex === 'number') {
if (this._failFilterIndex) {
this._failFilterIndex++;
}

13893
yarn.lock Normal file

File diff suppressed because it is too large Load Diff