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 <noreply@paperclip.ing>
This commit is contained in:
Darren Davison 2026-04-04 12:59:29 +01:00
parent 7623f679cf
commit 42989115a7

View file

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