Improved naming and coverage

This commit is contained in:
Vito Albano
2016-10-11 12:47:06 +01:00
parent 83b24308ce
commit 55b11aa0f7
5 changed files with 168 additions and 98 deletions

View File

@@ -279,7 +279,7 @@ export class ActivitiForm implements OnInit, AfterViewChecked, OnChanges {
loadForm() {
if (this.taskId) {
this.getFormByTaskId(this.taskId);
this.visibilityService.getTaskProcessVariableModelsForTask(this.taskId);
this.visibilityService.getTaskProcessVariable(this.taskId);
return;
}
@@ -416,7 +416,7 @@ export class ActivitiForm implements OnInit, AfterViewChecked, OnChanges {
checkVisibility(field: FormFieldModel) {
if (field && field.form) {
this.visibilityService.updateVisibilityForForm(field.form);
this.visibilityService.refreshVisibility(field.form);
}
}