Merge pull request #3202 from danswer-ai/toggled_chat_default

Update default sidebar toggle
This commit is contained in:
hagen-danswer 2024-11-21 19:53:05 -08:00 committed by GitHub
commit 8d5b8a4028
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,8 +36,10 @@ export const SIDEBAR_WIDTH = `w-[350px]`;
export const LOGOUT_DISABLED =
process.env.NEXT_PUBLIC_DISABLE_LOGOUT?.toLowerCase() === "true";
// 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";
process.env.NEXT_PUBLIC_DEFAULT_SIDEBAR_OPEN?.toLowerCase() === "true" ??
true;
export const TOGGLED_CONNECTORS_COOKIE_NAME = "toggled_connectors";