mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-27 20:38:32 +02:00
Sidebar Default Open (#3488)
This commit is contained in:
@@ -38,8 +38,9 @@ export const LOGOUT_DISABLED =
|
|||||||
|
|
||||||
// Default sidebar open is true if the environment variable is not set
|
// Default sidebar open is true if the environment variable is not set
|
||||||
export const NEXT_PUBLIC_DEFAULT_SIDEBAR_OPEN =
|
export const NEXT_PUBLIC_DEFAULT_SIDEBAR_OPEN =
|
||||||
process.env.NEXT_PUBLIC_DEFAULT_SIDEBAR_OPEN?.toLowerCase() === "true" ??
|
process.env.NEXT_PUBLIC_DEFAULT_SIDEBAR_OPEN?.toLowerCase() === "false"
|
||||||
true;
|
? false
|
||||||
|
: true;
|
||||||
|
|
||||||
export const TOGGLED_CONNECTORS_COOKIE_NAME = "toggled_connectors";
|
export const TOGGLED_CONNECTORS_COOKIE_NAME = "toggled_connectors";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user