Skip to content

Commit

Permalink
fix: peaks and integrals panels should be visible only in 1D mode
Browse files Browse the repository at this point in the history
  • Loading branch information
hamed-musallam committed Jun 26, 2023
1 parent 56ec65a commit dded4f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/component/panels/Panels.tsx
Expand Up @@ -50,7 +50,7 @@ const accordionItems: AccordionItem[] = [
title: 'Peaks',
component: <PeaksPanel />,
hidePreferenceKey: 'peaksPanel',
mode: null,
mode: DISPLAYER_MODE.DM_1D,
},
{
title: 'Processings',
Expand All @@ -62,7 +62,7 @@ const accordionItems: AccordionItem[] = [
title: 'Integrals',
component: <IntegralPanel />,
hidePreferenceKey: 'integralsPanel',
mode: null,
mode: DISPLAYER_MODE.DM_1D,
},
{
title: 'Ranges',
Expand Down

0 comments on commit dded4f4

Please sign in to comment.