From 9e82be0ddb6f85be2a47394c4161fea1067c28fc Mon Sep 17 00:00:00 2001 From: Simona Domnisoru Date: Mon, 9 Oct 2023 10:18:20 +0200 Subject: [PATCH] fix: [DHIS2-15734] assign effect dynamic formId object key (#3422) --- .../reducers/descriptions/form.reducerDescription.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core_modules/capture-core/reducers/descriptions/form.reducerDescription.js b/src/core_modules/capture-core/reducers/descriptions/form.reducerDescription.js index 85ab6638ee..30dd29a15f 100644 --- a/src/core_modules/capture-core/reducers/descriptions/form.reducerDescription.js +++ b/src/core_modules/capture-core/reducers/descriptions/form.reducerDescription.js @@ -230,7 +230,7 @@ export const formsSectionsFieldsUIDesc = createReducerDescription({ return { ...state, - formId: { + [formId]: { ...state[formId], ...updatedFields, },