mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-04 05:33:14 +00:00
fix(vendor-portal): accurate locked banner copy by dispatch status
This commit is contained in:
parent
7366f549e5
commit
2ce7210668
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