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