#1441 - clean checklist input after submit or cancel action (#1460)

This commit is contained in:
Vito
2017-01-13 06:37:48 -08:00
committed by Will Abson
parent 6ee34a2e49
commit 0a725f00e2

View File

@@ -120,6 +120,7 @@ export class ActivitiChecklist implements OnInit, OnChanges {
(res: TaskDetailsModel) => {
this.checklist.push(res);
this.checklistTaskCreated.emit(res);
this.taskName = '';
},
(err) => {
this.logService.error(err);
@@ -132,5 +133,6 @@ export class ActivitiChecklist implements OnInit, OnChanges {
if (this.dialog) {
this.dialog.nativeElement.close();
}
this.taskName = '';
}
}