diff --git a/apps/edr-freight-web/backoffice/src/components/customers/ChangeRequestReview.tsx b/apps/edr-freight-web/backoffice/src/components/customers/ChangeRequestReview.tsx index 7f4cf30ce..88cbc1769 100644 --- a/apps/edr-freight-web/backoffice/src/components/customers/ChangeRequestReview.tsx +++ b/apps/edr-freight-web/backoffice/src/components/customers/ChangeRequestReview.tsx @@ -174,6 +174,10 @@ export function DiffRow({ from: string; to: string; }) { + // No real "before" (field went from unset straight to a value, e.g. the + // onboarding wizard's first save) — show the value alone rather than a + // fake "— → value" that implies a prior state that never existed. + const hadBefore = from !== "—"; const changed = from !== to; return ( @@ -181,24 +185,24 @@ export function DiffRow({ {label} - - {from} - - {changed && ( - <> - - → - - - {to} - - + {hadBefore && ( + + {from} + )} + {hadBefore && changed && ( + + → + + )} + + {to} + );