diff --git a/ppr-ui/src/composables/exemption/useExemptions.ts b/ppr-ui/src/composables/exemption/useExemptions.ts index 8698ba0e1..403765991 100644 --- a/ppr-ui/src/composables/exemption/useExemptions.ts +++ b/ppr-ui/src/composables/exemption/useExemptions.ts @@ -100,7 +100,7 @@ export const useExemptions = () => { return mhrRegSummary.changes?.filter( reg => reg.registrationDescription === APIMhrDescriptionTypes.RESIDENTIAL_EXEMPTION && - reg.statusType === MhApiStatusTypes.EXEMPT + (reg.statusType === MhApiStatusTypes.EXEMPT || reg.statusType === MhApiStatusTypes.ACTIVE) ).length > 0 } diff --git a/ppr-ui/src/composables/useRegistration.ts b/ppr-ui/src/composables/useRegistration.ts index ad1f6e35e..0bc892840 100644 --- a/ppr-ui/src/composables/useRegistration.ts +++ b/ppr-ui/src/composables/useRegistration.ts @@ -47,7 +47,6 @@ export const useRegistration = (setSort: RegistrationSortIF) => { if (!status) return UIStatusTypes.DRAFT if (status === MhApiStatusTypes.FROZEN) return MhUIStatusTypes.ACTIVE if (!isChild && status === MhApiStatusTypes.EXEMPT) return MhUIStatusTypes.EXEMPT - if (isChild && (status === MhApiStatusTypes.CANCELLED || status === MhApiStatusTypes.EXEMPT)) return '' return isPpr ? PprAPIToUIStatusTypesMap[status] : MhrAPIToUIStatusTypesMap[status] }