#440 form refresh (reload) action

This commit is contained in:
Denys Vuika
2016-07-25 15:26:50 +01:00
parent 591f053d9b
commit 978b9baf6a
2 changed files with 12 additions and 0 deletions

View File

@@ -95,6 +95,12 @@ export class ActivitiForm implements OnInit, AfterViewChecked, OnChanges {
}
}
onRefreshClicked() {
if (this.taskId) {
this.loadForm(this.taskId);
}
}
private loadForm(taskId: string) {
this.formService
.getTaskForm(taskId)