Skip to content

Commit

Permalink
Merge pull request #1991 from flutistar/22366-UI-MHR-with-lien-is-res…
Browse files Browse the repository at this point in the history
…tricting-staff

enabled change ownership button when hasLien and isRoleStaffReg are true
  • Loading branch information
flutistar authored Jul 23, 2024
2 parents 3ec06ad + 0869682 commit 234925d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ppr-ui/src/views/mhrInformation/MhrInformation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,10 @@ export default defineComponent({
'Ownership Transfer or Change'
),
isChangeOwnershipBtnDisabled: computed((): boolean => {
if(isRoleStaffReg.value && hasLien.value && !isFrozenMhrDueToAffidavit.value){
return false
}
const isFrozenMhr = isFrozenMhrDueToAffidavit.value || isFrozenMhrDueToUnitNote.value
const isTransportPermitDisabled = isChangeLocationActive.value ||
Expand Down

0 comments on commit 234925d

Please sign in to comment.