mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-09-10 14:11:17 +00:00
Destination folder id is replaced with destination path in folder rules in create/edit a rule
This commit is contained in:
@@ -17,7 +17,8 @@
|
||||
data-automation-id="rule-action-card-view"
|
||||
[properties]="cardViewItems"
|
||||
[ngStyle]="cardViewStyle"
|
||||
[editable]="!readOnly">
|
||||
[editable]="!readOnly"
|
||||
[destinationPath]="destinationPath">
|
||||
</adf-card-view>
|
||||
|
||||
</form>
|
||||
|
@@ -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) => {
|
||||
|
Reference in New Issue
Block a user