mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-08-07 17:48:54 +00:00
[ADF-741] Add the create task attachment component to the demo shell (#1946)
* Add the create task attachment component to the demo shell * Add translation keys * Add return to methods
This commit is contained in:
committed by
Eugenio Romano
parent
cfb3c9b8ba
commit
33d5f66bd7
@@ -55,10 +55,14 @@ export class TaskAttachmentListComponent implements OnChanges {
|
||||
}
|
||||
}
|
||||
|
||||
reset () {
|
||||
reset(): void {
|
||||
this.attachments = [];
|
||||
}
|
||||
|
||||
reload(): void {
|
||||
this.loadAttachmentsByTaskId(this.taskId);
|
||||
}
|
||||
|
||||
private loadAttachmentsByTaskId(taskId: string) {
|
||||
if (taskId) {
|
||||
this.reset();
|
||||
|
Reference in New Issue
Block a user