mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +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'];
|
const processDefinitionId = changes['processDefinitionId'];
|
||||||
if (processDefinitionId && processDefinitionId.currentValue) {
|
if (processDefinitionId && processDefinitionId.currentValue) {
|
||||||
this.processDefinitionId = processDefinitionId.currentValue;
|
this.processDefinitionId = processDefinitionId.currentValue;
|
||||||
}
|
|
||||||
|
|
||||||
if (this.processDefinitionId) {
|
|
||||||
this.visibilityService.cleanProcessVariable();
|
this.visibilityService.cleanProcessVariable();
|
||||||
this.getStartFormDefinition(this.processDefinitionId);
|
this.getStartFormDefinition(this.processDefinitionId);
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user