Skip to content
Snippets Groups Projects
Commit fd04e7b4 authored by Guillaume Heurtier's avatar Guillaume Heurtier
Browse files

FEAT #12981 TIME 0:10 fix parameters format in action admin

parent ace86546
No related branches found
No related tags found
No related merge requests found
...@@ -148,9 +148,9 @@ export class ActionAdministrationComponent implements OnInit { ...@@ -148,9 +148,9 @@ export class ActionAdministrationComponent implements OnInit {
onSubmit() { onSubmit() {
if (this.action.actionPageId=='close_mail') { if (this.action.actionPageId=='close_mail') {
this.action.parameters = this.selectedFieldsId; this.action.parameters = { requiredFields: this.selectedFieldsId};
} else if (this.action.actionPageId=='create_acknowledgement_receipt') { } else if (this.action.actionPageId=='create_acknowledgement_receipt') {
this.action.parameters = this.arMode; this.action.parameters = { mode: this.arMode};
} }
if (this.creationMode) { if (this.creationMode) {
this.http.post('../../rest/actions', this.action) this.http.post('../../rest/actions', this.action)
......
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