mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-17 11:30:58 +02:00
Sidebar Default Open (#3488)
This commit is contained in:
parent
f83e7bfcd9
commit
b458d504af
@ -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";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user