refac
This commit is contained in:
1 parent
9a145c591f
commit
0af66558ae
1 file changed
+3
-2
@@ -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);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in new issue
Block a user