Avoid to recall the method if no change detect is affected (#6688)

This commit is contained in:
Maurizio Vitale
2021-02-16 17:29:15 +00:00
committed by GitHub
parent 1a2e680866
commit 66f4dbd5a5

View File

@@ -79,9 +79,6 @@ export class StartFormComponent extends FormComponent implements OnChanges, OnIn
const processDefinitionId = changes['processDefinitionId'];
if (processDefinitionId && processDefinitionId.currentValue) {
this.processDefinitionId = processDefinitionId.currentValue;
}
if (this.processDefinitionId) {
this.visibilityService.cleanProcessVariable();
this.getStartFormDefinition(this.processDefinitionId);
return;