Skip to content
Snippets Groups Projects
Verified Commit d8f1f4a7 authored by Damien's avatar Damien
Browse files

FEAT #13493 TIME 0:15 Fix action close

parent 735c0ed3
No related branches found
No related tags found
No related merge requests found
...@@ -100,7 +100,10 @@ export class ActionAdministrationComponent implements OnInit { ...@@ -100,7 +100,10 @@ export class ActionAdministrationComponent implements OnInit {
this.loading = false; this.loading = false;
if (this.action.actionPageId == 'close_mail') { if (this.action.actionPageId == 'close_mail') {
this.customFieldsFormControl = new FormControl({ value: this.action.parameters.requiredFields, disabled: false }); this.customFieldsFormControl = new FormControl({ value: this.action.parameters.requiredFields, disabled: false });
this.selectedFieldsId = this.action.parameters.requiredFields; this.selectedFieldsId = [];
if (this.action.parameters.requiredFields) {
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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment