From e830170dbaf57516bc3e5409035f98c403637981 Mon Sep 17 00:00:00 2001 From: Martin Ohlson Date: Mon, 26 Feb 2024 13:50:41 +0000 Subject: [PATCH] fix: hide program indicators from TE --- .../ProgramDimensionsFilter.js | 20 ++++++++++--------- .../useProgramDataDimensions.js | 1 + 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/components/MainSidebar/ProgramDimensionsPanel/ProgramDimensionsFilter.js b/src/components/MainSidebar/ProgramDimensionsPanel/ProgramDimensionsFilter.js index 386ba396f..39e815b45 100644 --- a/src/components/MainSidebar/ProgramDimensionsPanel/ProgramDimensionsFilter.js +++ b/src/components/MainSidebar/ProgramDimensionsPanel/ProgramDimensionsFilter.js @@ -90,15 +90,17 @@ const ProgramDimensionsFilter = ({ } /> )} - - } - /> + {useSelector(sGetUiInputType) !== OUTPUT_TYPE_TRACKED_ENTITY && ( + + } + /> + )}