From b458d504af1f00eb09e84884e7a46fc091f9d319 Mon Sep 17 00:00:00 2001 From: pablonyx Date: Thu, 19 Dec 2024 14:04:50 -0800 Subject: [PATCH] Sidebar Default Open (#3488) --- web/src/lib/constants.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/src/lib/constants.ts b/web/src/lib/constants.ts index 83fbb1174c..d70a28f235 100644 --- a/web/src/lib/constants.ts +++ b/web/src/lib/constants.ts @@ -38,8 +38,9 @@ export const LOGOUT_DISABLED = // Default sidebar open is true if the environment variable is not set export const NEXT_PUBLIC_DEFAULT_SIDEBAR_OPEN = - process.env.NEXT_PUBLIC_DEFAULT_SIDEBAR_OPEN?.toLowerCase() === "true" ?? - true; + process.env.NEXT_PUBLIC_DEFAULT_SIDEBAR_OPEN?.toLowerCase() === "false" + ? false + : true; export const TOGGLED_CONNECTORS_COOKIE_NAME = "toggled_connectors";