refac
This commit is contained in:
@@ -69,6 +69,7 @@
|
|||||||
} else {
|
} else {
|
||||||
// Legacy format
|
// Legacy format
|
||||||
await importChat(localStorage.token, chat, {}, false, null);
|
await importChat(localStorage.token, chat, {}, false, null);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
currentChatPage.set(1);
|
currentChatPage.set(1);
|
||||||
@@ -108,6 +109,7 @@
|
|||||||
const handleArchivedChatsChange = async () => {
|
const handleArchivedChatsChange = async () => {
|
||||||
currentChatPage.set(1);
|
currentChatPage.set(1);
|
||||||
await chats.set(await getChatList(localStorage.token, $currentChatPage));
|
await chats.set(await getChatList(localStorage.token, $currentChatPage));
|
||||||
|
|
||||||
scrollPaginationEnabled.set(true);
|
scrollPaginationEnabled.set(true);
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user