Skip to content

Commit

Permalink
Due to Death Transfers: Group Tenancy Typing (#2022)
Browse files Browse the repository at this point in the history
* DueToDeath Transfer Group Type Fix

* Refactor Fix
  • Loading branch information
cameron-eyds authored Sep 12, 2024
1 parent 9026b65 commit c88fa1c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ppr-ui/src/composables/mhrInformation/useMhrInformation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export const useMhrInformation = () => {
setShowGroups
} = useHomeOwners(true)
const {
isTransferToExecOrAdmin,
isTransferDueToDeath,
getCurrentOwnerGroupIdByOwnerId,
isTransferNonGiftBillOfSale,
Expand Down Expand Up @@ -481,8 +482,8 @@ 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)
? getMhrTransferType.value?.transferType === ApiTransferTypes.TO_EXECUTOR_PROBATE_WILL
? ApiHomeTenancyTypes.NA
? isTransferToExecOrAdmin.value
? ApiHomeTenancyTypes.NA
: ApiHomeTenancyTypes.JOINT
: getMhrTransferHomeOwnerGroups.value.length > 1
? ApiHomeTenancyTypes.NA
Expand Down

0 comments on commit c88fa1c

Please sign in to comment.