From db9537fa6de7cd185b4bc328fdc3e8635b39c500 Mon Sep 17 00:00:00 2001 From: Peter Chang Date: Mon, 3 Nov 2025 08:38:43 +0000 Subject: [PATCH] Remove extraneous separator from toolbar when no selection types are allowed --- client/component/src/PlotToolbar.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/component/src/PlotToolbar.tsx b/client/component/src/PlotToolbar.tsx index 9eedc14..39c3a33 100644 --- a/client/component/src/PlotToolbar.tsx +++ b/client/component/src/PlotToolbar.tsx @@ -348,7 +348,9 @@ function PlotToolbar(props: PropsWithChildren): JSX.Element { hasBaton={selectBaton} canSelect={canAddSelection} /> - {canSelect && } + {canSelect && canAddSelection && ( + + )} {bareModals} {canSelect && ( {selectionConfig}