Skip to content

Commit

Permalink
SJT Tenancy Type Fix (bcgov#2077)
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-eyds authored Dec 3, 2024
1 parent 1c8aef2 commit 69bbc3a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ppr-ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ppr-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ppr-ui",
"version": "3.3.8",
"version": "3.3.9",
"private": true,
"appName": "Assets UI",
"sbcName": "SBC Common Components",
Expand Down
3 changes: 2 additions & 1 deletion ppr-ui/src/composables/mhrInformation/useMhrInformation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,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 &&
!ownerGroup.owners.some(owner => owner.action === ActionTypes.CHANGED)))
ownerGroup.owners.some(owner => owner.action === ActionTypes.REMOVED)
))
? isTransferToExecOrAdmin.value
? ApiHomeTenancyTypes.NA
: ApiHomeTenancyTypes.JOINT
Expand Down

0 comments on commit 69bbc3a

Please sign in to comment.