From 5fec0e32bacbefb45c9992657a4e231bf2c7c70a Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Thu, 25 Jul 2024 18:48:40 +0200 Subject: [PATCH] Update packages/trace-viewer/src/ui/workbench.tsx Signed-off-by: Simon Knott --- packages/trace-viewer/src/ui/workbench.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/trace-viewer/src/ui/workbench.tsx b/packages/trace-viewer/src/ui/workbench.tsx index d95f9acce9..2755262045 100644 --- a/packages/trace-viewer/src/ui/workbench.tsx +++ b/packages/trace-viewer/src/ui/workbench.tsx @@ -68,7 +68,7 @@ export const Workbench: React.FunctionComponent<{ const activeAction = model ? highlightedAction || selectedAction : undefined; const [selectedTime, setSelectedTime] = React.useState(); const [sidebarLocation, setSidebarLocation] = useSetting<'bottom' | 'right'>('propertiesSidebarLocation', 'bottom'); - const [, , showRouteActionsSettingInternal] = useSetting(showRouteActionsSetting ? '' : 'show-route-actions', true, 'Show route actions'); + const [, , showRouteActionsSettingInternal] = useSetting(showRouteActionsSetting ? undefined : 'show-route-actions', true, 'Show route actions'); const showSettings = !showRouteActionsSetting; showRouteActionsSetting ||= showRouteActionsSettingInternal;