From 7ff5fd04b90be13916a68c90957808b9a9527b7f Mon Sep 17 00:00:00 2001 From: CameronEYDS <53542131+cameron-eyds@users.noreply.github.com> Date: Fri, 12 Jul 2024 12:12:43 -0700 Subject: [PATCH] Leta Admin Bug (#1978) --- ppr-ui/package-lock.json | 4 ++-- ppr-ui/package.json | 2 +- ppr-ui/src/composables/mhrRegistration/useHomeOwners.ts | 4 +++- ppr-ui/src/resources/mhr-history/mhHistoryTableHeaders.ts | 4 ++-- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ppr-ui/package-lock.json b/ppr-ui/package-lock.json index 648e503b0..c220c32eb 100644 --- a/ppr-ui/package-lock.json +++ b/ppr-ui/package-lock.json @@ -1,12 +1,12 @@ { "name": "ppr-ui", - "version": "3.2.36", + "version": "3.2.37", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ppr-ui", - "version": "3.2.36", + "version": "3.2.37", "dependencies": { "@bcrs-shared-components/input-field-date-picker": "^1.0.0", "@lemoncode/fonk": "^1.5.1", diff --git a/ppr-ui/package.json b/ppr-ui/package.json index 61fbbeb6d..121463cd3 100644 --- a/ppr-ui/package.json +++ b/ppr-ui/package.json @@ -1,6 +1,6 @@ { "name": "ppr-ui", - "version": "3.2.36", + "version": "3.2.37", "private": true, "appName": "Assets UI", "sbcName": "SBC Common Components", diff --git a/ppr-ui/src/composables/mhrRegistration/useHomeOwners.ts b/ppr-ui/src/composables/mhrRegistration/useHomeOwners.ts index 54b79e24e..a8ed97980 100644 --- a/ppr-ui/src/composables/mhrRegistration/useHomeOwners.ts +++ b/ppr-ui/src/composables/mhrRegistration/useHomeOwners.ts @@ -312,7 +312,9 @@ export function useHomeOwners (isMhrTransfer: boolean = false, isMhrCorrection: if (groupToUpdate.owners && (groupToUpdate.action !== ActionTypes.REMOVED || (getMhrTransferType.value?.transferType === ApiTransferTypes.TO_EXECUTOR_PROBATE_WILL || - getMhrTransferType.value?.transferType === ApiTransferTypes.TO_EXECUTOR_UNDER_25K_WILL))) { + getMhrTransferType.value?.transferType === ApiTransferTypes.TO_EXECUTOR_UNDER_25K_WILL || + getMhrTransferType.value?.transferType === ApiTransferTypes.TO_ADMIN_NO_WILL) + )) { groupToUpdate.owners.push({ ...owner, groupId: groupId || fallBackId }) } else { // No groups exist, need to create a new one diff --git a/ppr-ui/src/resources/mhr-history/mhHistoryTableHeaders.ts b/ppr-ui/src/resources/mhr-history/mhHistoryTableHeaders.ts index 75db60f67..6f7b39a08 100644 --- a/ppr-ui/src/resources/mhr-history/mhHistoryTableHeaders.ts +++ b/ppr-ui/src/resources/mhr-history/mhHistoryTableHeaders.ts @@ -73,12 +73,12 @@ export const homeOwnerHeaders: Array = [ class: 'column-xs' }, { - name: 'Owner From', + name: 'Owned From', value: 'createDateTime', class: 'column-xs' }, { - name: 'Owner Until', + name: 'Owned Until', value: 'endDateTime', class: 'column-xs' },