From fd04e7b4f02676e9beb532139d83f01bf0b7cc68 Mon Sep 17 00:00:00 2001 From: Guillaume Heurtier <guillaume.heurtier@maarch.org> Date: Fri, 21 Feb 2020 09:42:22 +0100 Subject: [PATCH] FEAT #12981 TIME 0:10 fix parameters format in action admin --- .../administration/action/action-administration.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/app/administration/action/action-administration.component.ts b/src/frontend/app/administration/action/action-administration.component.ts index 18a896f5ac8..40a2b3e42c8 100755 --- a/src/frontend/app/administration/action/action-administration.component.ts +++ b/src/frontend/app/administration/action/action-administration.component.ts @@ -148,9 +148,9 @@ export class ActionAdministrationComponent implements OnInit { onSubmit() { 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') { - this.action.parameters = this.arMode; + this.action.parameters = { mode: this.arMode}; } if (this.creationMode) { this.http.post('../../rest/actions', this.action) -- GitLab