mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-08-07 17:48:54 +00:00
fix thumbnail task process list (#1951)
This commit is contained in:
committed by
Eugenio Romano
parent
f60035369a
commit
e7a1f46ac8
@@ -78,8 +78,10 @@ export class TaskAttachmentListComponent implements OnChanges {
|
||||
});
|
||||
});
|
||||
this.success.emit(this.attachments);
|
||||
});
|
||||
}
|
||||
},
|
||||
(err) => {
|
||||
this.error.emit(err);
|
||||
}); }
|
||||
}
|
||||
|
||||
private deleteAttachmentById(contentId: string) {
|
||||
@@ -89,6 +91,9 @@ export class TaskAttachmentListComponent implements OnChanges {
|
||||
this.attachments = this.attachments.filter(content => {
|
||||
return content.id !== contentId;
|
||||
});
|
||||
},
|
||||
(err) => {
|
||||
this.error.emit(err);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user