mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-07 16:19:01 +00:00
fix(vendor-portal): accurate locked banner copy by dispatch status
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
aa58ca6200
commit
3708221c98
1 changed files with 3 additions and 2 deletions
|
|
@ -149,8 +149,9 @@ export function DispatchSnapshotDetails({ data, locked }: DispatchSnapshotDetail
|
|||
<DispatcherContactDetails data={data} />
|
||||
{locked && (
|
||||
<Text variant="feedback" className="vp-muted" sx={{ marginTop: 2 }}>
|
||||
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.`}
|
||||
</Text>
|
||||
)}
|
||||
{Boolean(description) && (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue