mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-01 14:41:32 +00:00
[ACA-3304] FE - Add a drop down to select running application on start process component (#5702)
* [ACA-3304] FE - Add a drop down to select running application on start process component * * Removed unwanted css * * Added unit tests and updated docs * * Fixed comments * * Added way to test application dropdown in start-process * * Fixed failing unit tests * * Removed all option* Fixed failing e2e
This commit is contained in:
@@ -82,8 +82,12 @@ export class StartFormComponent extends FormComponent implements OnChanges, OnIn
|
||||
ngOnChanges(changes: SimpleChanges) {
|
||||
const processDefinitionId = changes['processDefinitionId'];
|
||||
if (processDefinitionId && processDefinitionId.currentValue) {
|
||||
this.processDefinitionId = processDefinitionId.currentValue;
|
||||
}
|
||||
|
||||
if (this.processDefinitionId) {
|
||||
this.visibilityService.cleanProcessVariable();
|
||||
this.getStartFormDefinition(processDefinitionId.currentValue);
|
||||
this.getStartFormDefinition(this.processDefinitionId);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user