mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Fix unit test upload
This commit is contained in:
@@ -57,7 +57,7 @@ export class FileUploadingListComponent {
|
||||
let file = this.filesUploadingList.filter((uploadingFileModel) => {
|
||||
return uploadingFileModel.id === id;
|
||||
});
|
||||
file[0].setAbort();
|
||||
file[0].emitAbort();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -68,7 +68,7 @@ export class FileUploadingListComponent {
|
||||
$event.preventDefault();
|
||||
}
|
||||
this.filesUploadingList.forEach((uploadingFileModel: FileModel) => {
|
||||
uploadingFileModel.setAbort();
|
||||
uploadingFileModel.emitAbort();
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user