mirror of
https://github.com/open-webui/open-webui.git
synced 2025-09-07 19:32:34 +02:00
fix: sidebar open by default
This commit is contained in:
@@ -28,6 +28,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
|
if (window.innerWidth > 1280) {
|
||||||
|
show = true;
|
||||||
|
}
|
||||||
|
|
||||||
await chats.set(await $db.getAllFromIndex('chats', 'timestamp'));
|
await chats.set(await $db.getAllFromIndex('chats', 'timestamp'));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user