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:
1 parent
af831abd53
commit
ec183ec60e
2 files changed
+7
No files matched your search
@@ -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)}
|
||||
|
||||
Reference in new issue
Block a user