From 3d171c719449a349b1d6829634b8f19a51b544cd Mon Sep 17 00:00:00 2001 From: henrikmv Date: Sat, 1 Feb 2025 12:35:45 +0100 Subject: [PATCH] fix: revert orgunitid change --- .../components/WidgetEventEdit/WidgetEventEdit.container.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core_modules/capture-core/components/WidgetEventEdit/WidgetEventEdit.container.js b/src/core_modules/capture-core/components/WidgetEventEdit/WidgetEventEdit.container.js index 789c0fe0a7..c0599b800b 100644 --- a/src/core_modules/capture-core/components/WidgetEventEdit/WidgetEventEdit.container.js +++ b/src/core_modules/capture-core/components/WidgetEventEdit/WidgetEventEdit.container.js @@ -77,6 +77,7 @@ const WidgetEventEditPlain = ({ onHandleScheduleSave, onSaveExternal, programId, + orgUnitId, enrollmentId, eventId, stageId, @@ -105,7 +106,7 @@ const WidgetEventEditPlain = ({ currentPage={currentPageMode} eventId={eventId} programId={programId} - orgUnitId={orgUnit.id} + orgUnitId={orgUnitId} stageId={stageId} stage={stage} />