diff --git a/src/client/pages/VergunningDetail/RvvSloterweg.tsx b/src/client/pages/VergunningDetail/RvvSloterweg.tsx index 3d3a13acfc..08a156d1f2 100644 --- a/src/client/pages/VergunningDetail/RvvSloterweg.tsx +++ b/src/client/pages/VergunningDetail/RvvSloterweg.tsx @@ -32,6 +32,12 @@ export function getRVVSloterwegLineItems( isMatured || vergunning.decision === RVV_SLOTERWEG_RESULT_UPDATED_WIHT_NEW_KENTEKEN; + let dateInProgress = vergunning.dateWorkflowActive ?? ''; + + if (!isChangeRequest) { + dateInProgress = vergunning.dateRequest; + } + const lineItems: StatusLineItem[] = [ { id: 'status-ontvangen', @@ -47,11 +53,7 @@ export function getRVVSloterwegLineItems( lineItems.push({ id: 'status-in-in-behandeling', status: 'In behandeling', - datePublished: vergunning.dateWorkflowActive - ? vergunning.dateWorkflowActive - : !isChangeRequest - ? vergunning.dateRequest - : '', + datePublished: dateInProgress, description: '', documents: [], isActive: isInprogress && !isGranted && !isRevoked, diff --git a/src/client/pages/VergunningDetail/__snapshots__/VergunningDetail.test.tsx.snap b/src/client/pages/VergunningDetail/__snapshots__/VergunningDetail.test.tsx.snap index fa219658ec..75188284b7 100644 --- a/src/client/pages/VergunningDetail/__snapshots__/VergunningDetail.test.tsx.snap +++ b/src/client/pages/VergunningDetail/__snapshots__/VergunningDetail.test.tsx.snap @@ -4674,7 +4674,7 @@ exports[` > RVV Sloterweg > RVV ontheffing Sloterweg (Nieuw/
> RVV Sloterweg > RVV ontheffing Sloterweg (Nieuw/