From dded4f40484d4b8d03b6c7f84c8832fd56af8798 Mon Sep 17 00:00:00 2001 From: hamed-musallam Date: Mon, 26 Jun 2023 15:46:59 +0200 Subject: [PATCH] fix: peaks and integrals panels should be visible only in 1D mode --- src/component/panels/Panels.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/component/panels/Panels.tsx b/src/component/panels/Panels.tsx index 141b99047..e3cbd2574 100644 --- a/src/component/panels/Panels.tsx +++ b/src/component/panels/Panels.tsx @@ -50,7 +50,7 @@ const accordionItems: AccordionItem[] = [ title: 'Peaks', component: , hidePreferenceKey: 'peaksPanel', - mode: null, + mode: DISPLAYER_MODE.DM_1D, }, { title: 'Processings', @@ -62,7 +62,7 @@ const accordionItems: AccordionItem[] = [ title: 'Integrals', component: , hidePreferenceKey: 'integralsPanel', - mode: null, + mode: DISPLAYER_MODE.DM_1D, }, { title: 'Ranges',