mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Avoid to recall the method if no change detect is affected (#6688)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user