mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-01 02:30:18 +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
|
||||
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";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user