Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix: refresh task status on task.updated to clear working indicator when done

Gener44c07f47097c
diff --git a/src/web/src/app/(app)/w/[slug]/issues/page.tsx b/src/web/src/app/(app)/w/[slug]/issues/page.tsx
index 240f75217..71f559826 100644
--- a/src/web/src/app/(app)/w/[slug]/issues/page.tsx
+++ b/src/web/src/app/(app)/w/[slug]/issues/page.tsx
@@ -311,6 +311,9 @@ export default function IssuesPage() {
if (msg.type === "task.updated" && (msg.status === "running" || msg.status === "completed" || msg.status === "failed")) {
reload();
if (selectedId) openIssue(selectedId);
+ if (detailTaskId) {
+ getTask(detailTaskId, workspaceId).then(setActiveTask).catch(() => {});
+ }
}
});
// eslint-disable-next-line react-hooks/exhaustive-deps