Timothy Jaeryang Baek 3 月之前
父节点
当前提交
139e4f93cb
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/lib/components/chat/Settings/Chats.svelte

+ 2 - 0
src/lib/components/chat/Settings/Chats.svelte

@@ -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>