mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-18 06:55:57 +08:00
fix: sidebar open by default
This commit is contained in:
parent
e394d70206
commit
14fb5a9b5c
@ -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'));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user