This commit is contained in:
Timothy Jaeryang Baek
2026-06-29 05:18:12 -05:00
parent fa76764c3b
commit aa851d93c6
+7 -1
View File
@@ -876,7 +876,13 @@
return;
}
await loadChat();
const pendingTaskIds = await getTaskIdsByChatId(localStorage.token, $chatId)
.then((res) => res?.task_ids ?? [])
.catch(() => null);
if (pendingTaskIds?.length === 0) {
await loadChat();
}
};
onMount(() => {