From 4c6c3c2c45f7d08b4fc7dbffdb491577317c3719 Mon Sep 17 00:00:00 2001 From: flutistar Date: Mon, 22 Jul 2024 08:30:04 -0700 Subject: [PATCH 1/2] enabled change ownership button when hasLien and isRoleStaffReg are true --- ppr-ui/src/views/mhrInformation/MhrInformation.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ppr-ui/src/views/mhrInformation/MhrInformation.vue b/ppr-ui/src/views/mhrInformation/MhrInformation.vue index 50c535014..e6db3cf61 100644 --- a/ppr-ui/src/views/mhrInformation/MhrInformation.vue +++ b/ppr-ui/src/views/mhrInformation/MhrInformation.vue @@ -892,6 +892,9 @@ export default defineComponent({ 'Ownership Transfer or Change' ), isChangeOwnershipBtnDisabled: computed((): boolean => { + if(isRoleStaffReg.value && hasLien.value) + return false + const isFrozenMhr = isFrozenMhrDueToAffidavit.value || isFrozenMhrDueToUnitNote.value const isTransportPermitDisabled = isChangeLocationActive.value || From 0869682bcf5fcf65d34b8cd9d113d39d4e03e07b Mon Sep 17 00:00:00 2001 From: flutistar Date: Tue, 23 Jul 2024 08:06:23 -0700 Subject: [PATCH 2/2] added isFrozenMhrDueToAffidavit flag to the condition --- ppr-ui/src/views/mhrInformation/MhrInformation.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ppr-ui/src/views/mhrInformation/MhrInformation.vue b/ppr-ui/src/views/mhrInformation/MhrInformation.vue index e6db3cf61..36cc5cfbe 100644 --- a/ppr-ui/src/views/mhrInformation/MhrInformation.vue +++ b/ppr-ui/src/views/mhrInformation/MhrInformation.vue @@ -892,8 +892,9 @@ export default defineComponent({ 'Ownership Transfer or Change' ), isChangeOwnershipBtnDisabled: computed((): boolean => { - if(isRoleStaffReg.value && hasLien.value) - return false + if(isRoleStaffReg.value && hasLien.value && !isFrozenMhrDueToAffidavit.value){ + return false + } const isFrozenMhr = isFrozenMhrDueToAffidavit.value || isFrozenMhrDueToUnitNote.value