Sidebar Default Open (#3488)

This commit is contained in:
pablonyx 2024-12-19 14:04:50 -08:00 committed by GitHub
parent f83e7bfcd9
commit b458d504af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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";