mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-4753] - fixed calling for standalone task (#4952)
* [ADF-4753] - fixed calling for standalone task * [ADF-4753] added unit test * [ADF-4753] added unit test * [ADF-4753] improved unit tests * [ADF-4753] - removed extra parameter not needed
This commit is contained in:
@@ -117,10 +117,8 @@ export class FormCloudComponent extends FormBaseComponent implements OnChanges,
|
||||
ngOnChanges(changes: SimpleChanges) {
|
||||
const appName = changes['appName'];
|
||||
if (appName && appName.currentValue) {
|
||||
if (this.taskId && this.processInstanceId) {
|
||||
if (this.taskId) {
|
||||
this.getFormDefinitionWithFolderTask(this.appName, this.taskId, this.processInstanceId);
|
||||
} else if (this.taskId) {
|
||||
this.getFormByTaskId(this.appName, this.taskId);
|
||||
} else if (this.formId) {
|
||||
this.getFormById(appName.currentValue, this.formId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user