Skip to content
Snippets Groups Projects
Commit fe3c25f0 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #12981 TIME 0:15 action administration for close and acknowledgement receipt

parent c64a4bf7
No related branches found
No related tags found
No related merge requests found
...@@ -88,9 +88,9 @@ export class ActionAdministrationComponent implements OnInit { ...@@ -88,9 +88,9 @@ export class ActionAdministrationComponent implements OnInit {
this.headerService.setHeader(this.lang.actionCreation, data.action.label_action); this.headerService.setHeader(this.lang.actionCreation, data.action.label_action);
await this.getCustomFields(); await this.getCustomFields();
this.loading = false; this.loading = false;
this.customFieldsFormControl = new FormControl({ value: this.action.parameters, disabled: false });
if (this.action.actionPageId=='close_mail') { if (this.action.actionPageId=='close_mail') {
this.selectedFieldsId = this.action.parameters; this.customFieldsFormControl = new FormControl({ value: this.action.parameters.requiredFields, disabled: false });
this.selectedFieldsId = this.action.parameters.requiredFields;
this.selectedFieldsId.forEach((element: any) => { this.selectedFieldsId.forEach((element: any) => {
this.availableCustomFields.forEach((availableElement: any) => { this.availableCustomFields.forEach((availableElement: any) => {
if (availableElement.id == element) { if (availableElement.id == element) {
...@@ -99,7 +99,7 @@ export class ActionAdministrationComponent implements OnInit { ...@@ -99,7 +99,7 @@ export class ActionAdministrationComponent implements OnInit {
}); });
}); });
} else if (this.action.actionPageId=='create_acknowledgement_receipt') { } else if (this.action.actionPageId=='create_acknowledgement_receipt') {
this.arMode = this.action.parameters; this.arMode = this.action.parameters.mode;
} }
}); });
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment