Skip to content

Commit

Permalink
changed owner group type as NA (#2011)
Browse files Browse the repository at this point in the history
changed owner group type as NA
  • Loading branch information
flutistar authored Aug 26, 2024
1 parent 5c11a04 commit 1ec5cf0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions ppr-ui/src/composables/mhrInformation/useMhrInformation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
}
})
Expand Down

0 comments on commit 1ec5cf0

Please sign in to comment.