Skip to content

Commit bfd8c6b

Browse files
committed
refac
1 parent 0af6655 commit bfd8c6b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/lib/components/layout/Sidebar.svelte

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,10 @@
369369
}
370370
}
371371
372-
await initChannels();
373-
await initChatList();
372+
if (!value) {
373+
await initChannels();
374+
await initChatList();
375+
}
374376
});
375377
376378
chats.subscribe((value) => {

0 commit comments

Comments
 (0)