Skip to content

Commit f0ffb14

Browse files
t3dotggclaude
andcommitted
fix(web): quantize header settle classification to the shared minute clock
Co-Authored-By: Claude Fable 5 <[email protected]>
1 parent 1ec5870 commit f0ffb14

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎apps/web/src/hooks/useThreadActionMenu.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,10 @@ export function useThreadActionMenu(input: {
121121
isSettled:
122122
supports.settlement &&
123123
effectiveSettled(thread, {
124-
now: now.toISOString(),
124+
// Minute-quantized like useNowMinute, so this classification
125+
// can never disagree with the sidebar partition or ChatView's
126+
// parked-thread banner within the same minute.
127+
now: `${now.toISOString().slice(0, 16)}:00.000Z`,
125128
autoSettleAfterDays,
126129
changeRequestState,
127130
}),

0 commit comments

Comments
 (0)