diff --git a/projects/aca-folder-rules/src/lib/rule-details/actions/rule-action.ui-component.html b/projects/aca-folder-rules/src/lib/rule-details/actions/rule-action.ui-component.html index 5a8be2c76..759808609 100644 --- a/projects/aca-folder-rules/src/lib/rule-details/actions/rule-action.ui-component.html +++ b/projects/aca-folder-rules/src/lib/rule-details/actions/rule-action.ui-component.html @@ -17,7 +17,8 @@ data-automation-id="rule-action-card-view" [properties]="cardViewItems" [ngStyle]="cardViewStyle" - [editable]="!readOnly"> + [editable]="!readOnly" + [destinationPath]="destinationPath"> diff --git a/projects/aca-folder-rules/src/lib/rule-details/actions/rule-action.ui-component.ts b/projects/aca-folder-rules/src/lib/rule-details/actions/rule-action.ui-component.ts index 0101ddf5c..15b5684ea 100644 --- a/projects/aca-folder-rules/src/lib/rule-details/actions/rule-action.ui-component.ts +++ b/projects/aca-folder-rules/src/lib/rule-details/actions/rule-action.ui-component.ts @@ -91,6 +91,8 @@ export class RuleActionUiComponent implements ControlValueAccessor, OnInit, OnDe isFullWidth = false; + destinationPath: string; + form = new FormGroup({ actionDefinitionId: new FormControl('', Validators.required) }); @@ -247,6 +249,8 @@ export class RuleActionUiComponent implements ControlValueAccessor, OnInit, OnDe params: this.parameters }); this.onTouch(); + const nodeObject = selections[0]; + this.destinationPath = nodeObject.path?.name + '/' + nodeObject?.name; } }, (error) => {