From a1d91fdb12b1b2245cc2abfe73450986b26c8d8a Mon Sep 17 00:00:00 2001 From: Edoardo Sabadelli Date: Tue, 17 Dec 2024 16:01:05 +0100 Subject: [PATCH] fix: show correct type for Event data items (BETA-263) --- src/components/DataDimension/Info/EventDataItemInfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DataDimension/Info/EventDataItemInfo.js b/src/components/DataDimension/Info/EventDataItemInfo.js index 5074580ab..3937a2586 100644 --- a/src/components/DataDimension/Info/EventDataItemInfo.js +++ b/src/components/DataDimension/Info/EventDataItemInfo.js @@ -48,7 +48,7 @@ export const EventDataItemInfo = ({ type, id, displayNameProp }) => { {i18n.t('Type')} - {data?.type === DIMENSION_TYPE_PROGRAM_DATA_ELEMENT + {type === DIMENSION_TYPE_PROGRAM_DATA_ELEMENT ? i18n.t('Data element') : i18n.t('Tracked entity attribute')}