mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-7242] fix eslint warnings for content services project (#7505)
* fix eslint warnings for content services project * fix typing issues
This commit is contained in:
@@ -134,9 +134,7 @@ export class FileUploadingDialogComponent implements OnInit, OnDestroy {
|
||||
.pipe(takeUntil(this.onDestroy$))
|
||||
.subscribe(objId => {
|
||||
if (this.filesUploadingList) {
|
||||
const uploadedFile = this.filesUploadingList.find((file) => {
|
||||
return file.data ? file.data.entry.id === objId : false;
|
||||
});
|
||||
const uploadedFile = this.filesUploadingList.find((file) => file.data ? file.data.entry.id === objId : false);
|
||||
if (uploadedFile) {
|
||||
uploadedFile.status = FileUploadStatus.Cancelled;
|
||||
this.changeDetector.detectChanges();
|
||||
|
Reference in New Issue
Block a user