Q154: decision notes belong to one request and reset on close or switch

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-09 01:34:59 -04:00
1 parent af831abd53
commit ec183ec60e
2 files changed
+7

No files matched your search

+2
View File
@@ -141,7 +141,9 @@ export function ApprovalsPage({ snapshot, actions, navigate, focus }: PageProps)
</>
)}
{/* Keyed by request, so notes typed for one never carry to another or survive closing. */}
<ApprovalDetailDialog
key={editing?.id ?? "none"}
approval={editing}
requester={editing ? resolveRequester(editing, employees, agents) : ""}
onClose={() => setEditingId(null)}