mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
@@ -21,7 +21,7 @@ import { Component, EventEmitter, Input, Output } from '@angular/core';
|
||||
@Component({
|
||||
selector: 'adf-file-uploading-list-row',
|
||||
templateUrl: './file-uploading-list-row.component.html',
|
||||
styleUrls: [ './file-uploading-list-row.component.scss' ]
|
||||
styleUrls: ['./file-uploading-list-row.component.scss']
|
||||
})
|
||||
export class FileUploadingListRowComponent {
|
||||
@Input()
|
||||
@@ -42,4 +42,10 @@ export class FileUploadingListRowComponent {
|
||||
onRemove(file: FileModel): void {
|
||||
this.remove.emit(file);
|
||||
}
|
||||
|
||||
showCancelledStatus(): boolean {
|
||||
return this.file.status === FileUploadStatus.Cancelled ||
|
||||
this.file.status === FileUploadStatus.Aborted ||
|
||||
this.file.status === FileUploadStatus.Deleted;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user