From 3708221c988cc4e9d90f12eeea883eb60714adc4 Mon Sep 17 00:00:00 2001 From: "arthur.bassi" Date: Mon, 10 Aug 2026 19:07:18 -0300 Subject: [PATCH] fix(vendor-portal): accurate locked banner copy by dispatch status Co-authored-by: Cursor --- .../dispatch/_components/dispatch-snapshot-details.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/v/[token]/dispatch/_components/dispatch-snapshot-details.tsx b/src/app/v/[token]/dispatch/_components/dispatch-snapshot-details.tsx index 4f71d6d8..3c128caa 100644 --- a/src/app/v/[token]/dispatch/_components/dispatch-snapshot-details.tsx +++ b/src/app/v/[token]/dispatch/_components/dispatch-snapshot-details.tsx @@ -149,8 +149,9 @@ export function DispatchSnapshotDetails({ data, locked }: DispatchSnapshotDetail {locked && ( - This dispatch is {data.status.toLowerCase()} and locked to further changes. Comments - remain open. + {data.status === "Refused" + ? "This dispatch is refused and locked to further changes. Comments remain open." + : `This dispatch is ${data.status.toLowerCase()} and locked to further status changes. Sign-off actions may still be available.`} )} {Boolean(description) && (