fix(inbox): add key to IssueDetail to reset state on issue switch
Without a key, React reuses the IssueDetail component instance when switching between inbox items. This causes stale internal state (e.g. TaskRunHistory tasks) from the previous issue to persist, showing execution history from a different issue. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
5517136d73
commit
e2c466ffa1
1 changed files with 1 additions and 0 deletions
|
|
@ -387,6 +387,7 @@ export default function InboxPage() {
|
|||
<div className="flex flex-col min-h-0 h-full">
|
||||
{selected?.issue_id ? (
|
||||
<IssueDetail
|
||||
key={selected.issue_id}
|
||||
issueId={selected.issue_id}
|
||||
defaultSidebarOpen={false}
|
||||
layoutId="multica_inbox_issue_detail_layout"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue