mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 14:55:23 +00:00
refac
This commit is contained in:
parent
9a145c591f
commit
0af66558ae
1 changed files with 3 additions and 2 deletions
|
|
@ -368,6 +368,9 @@
|
||||||
navElement.style['-webkit-app-region'] = 'drag';
|
navElement.style['-webkit-app-region'] = 'drag';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await initChannels();
|
||||||
|
await initChatList();
|
||||||
});
|
});
|
||||||
|
|
||||||
chats.subscribe((value) => {
|
chats.subscribe((value) => {
|
||||||
|
|
@ -512,8 +515,6 @@
|
||||||
<button
|
<button
|
||||||
class="flex flex-col flex-1 cursor-[e-resize]"
|
class="flex flex-col flex-1 cursor-[e-resize]"
|
||||||
on:click={async () => {
|
on:click={async () => {
|
||||||
await initChannels();
|
|
||||||
await initChatList();
|
|
||||||
showSidebar.set(!$showSidebar);
|
showSidebar.set(!$showSidebar);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue