diff --git a/src/client/src/pages/detail/detailPage.tsx b/src/client/src/pages/detail/detailPage.tsx index 8f0f8a238..8f9653af1 100644 --- a/src/client/src/pages/detail/detailPage.tsx +++ b/src/client/src/pages/detail/detailPage.tsx @@ -23,6 +23,7 @@ export const DetailPage: FC = () => { const user = useSelector((state: ReduxRootState) => state.core_user); const location = useLocation(); const { panelPosition, panelOpen, togglePanel } = useLabelingContext(); + const showLabeling = false; useEffect(() => { setEditingEnabled(borehole.data.lock !== null); @@ -68,7 +69,9 @@ export const DetailPage: FC = () => { width: panelOpen && panelPosition === "right" ? "50%" : "100%", height: panelOpen && panelPosition === "bottom" ? "50%" : "100%", }}> - togglePanel()} /> + {showLabeling && ( + togglePanel()} /> + )} {panelOpen && }