From 1ec5cf0b6738c827e9b5bc00fa47228c6a54e795 Mon Sep 17 00:00:00 2001 From: Brandon Galli <54678642+flutistar@users.noreply.github.com> Date: Tue, 27 Aug 2024 05:56:08 +0800 Subject: [PATCH] changed owner group type as NA (#2011) changed owner group type as NA --- .../composables/mhrInformation/useMhrInformation.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/ppr-ui/src/composables/mhrInformation/useMhrInformation.ts b/ppr-ui/src/composables/mhrInformation/useMhrInformation.ts index a80bab271..f885f56b5 100644 --- a/ppr-ui/src/composables/mhrInformation/useMhrInformation.ts +++ b/ppr-ui/src/composables/mhrInformation/useMhrInformation.ts @@ -480,11 +480,13 @@ export const useMhrInformation = () => { }), // Determine group tenancy type type: (ownerGroup.owners.filter(owner => owner.action === ActionTypes.REMOVED).length > 1 || - getMhrTransferType.value?.transferType === ApiTransferTypes.SURVIVING_JOINT_TENANT) - ? ApiHomeTenancyTypes.JOINT - : getMhrTransferHomeOwnerGroups.value.length > 1 - ? ApiHomeTenancyTypes.NA - : ApiHomeTenancyTypes.SOLE + getMhrTransferType.value?.transferType === ApiTransferTypes.SURVIVING_JOINT_TENANT) + ? getMhrTransferType.value?.transferType === ApiTransferTypes.TO_EXECUTOR_PROBATE_WILL + ? ApiHomeTenancyTypes.NA + : ApiHomeTenancyTypes.JOINT + : getMhrTransferHomeOwnerGroups.value.length > 1 + ? ApiHomeTenancyTypes.NA + : ApiHomeTenancyTypes.SOLE }) } })