From 42989115a72584a0f2a75f70008163e2d49ae42d Mon Sep 17 00:00:00 2001 From: Darren Davison Date: Sat, 4 Apr 2026 12:59:29 +0100 Subject: [PATCH] fix: re-open panel when childIssues changes to prevent stale sub-task list Add childIssues to the useEffect dependency array so the Properties panel is refreshed whenever the child issue list updates (e.g. an agent creates or deletes a sub-task while the panel is open). Previously the panel kept the snapshot from the initial render of the parent issue. Co-Authored-By: Paperclip --- ui/src/pages/IssueDetail.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/pages/IssueDetail.tsx b/ui/src/pages/IssueDetail.tsx index 31810921..e9c98065 100644 --- a/ui/src/pages/IssueDetail.tsx +++ b/ui/src/pages/IssueDetail.tsx @@ -989,7 +989,7 @@ export function IssueDetail() { ); } return () => closePanel(); - }, [issue]); // eslint-disable-line react-hooks/exhaustive-deps + }, [issue, childIssues]); // eslint-disable-line react-hooks/exhaustive-deps const inboxQuickArchiveArmedRef = useRef(false); const canQuickArchiveFromInbox =