From df9ad104ed85f00e2841fcefdd9ad21d8ba64cea Mon Sep 17 00:00:00 2001 From: Rohin Bhargava Date: Thu, 19 Sep 2024 14:59:31 -0400 Subject: [PATCH] hotfix: force enable sidebar with no header (#1508) --- packages/ui/app/src/atoms/sidebar.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/app/src/atoms/sidebar.ts b/packages/ui/app/src/atoms/sidebar.ts index 4c5d1b5b21..6373cdbf5b 100644 --- a/packages/ui/app/src/atoms/sidebar.ts +++ b/packages/ui/app/src/atoms/sidebar.ts @@ -278,7 +278,7 @@ export const FORCE_ENABLE_SIDEBAR_ATOM = atom((get) => { // sidebar is always enabled if the header is disabled if (layout?.disableHeader) { - return false; + return true; } // sidebar is always enabled if vertical tabs are enabled