fix: sidebar open by default
This commit is contained in:
1 parent
e394d70206
commit
14fb5a9b5c
1 file changed
+4
@@ -28,6 +28,10 @@
|
||||
}
|
||||
|
||||
onMount(async () => {
|
||||
if (window.innerWidth > 1280) {
|
||||
show = true;
|
||||
}
|
||||
|
||||
await chats.set(await $db.getAllFromIndex('chats', 'timestamp'));
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user