Skip to content

Commit

Permalink
Fix QS restrictions for Ownership Change (bcgov#1908)
Browse files Browse the repository at this point in the history
* Fix QS restrictions for Ownership Change
  • Loading branch information
dimak1 authored Jun 3, 2024
1 parent 9fc851b commit b24a07d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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.2.4",
"version": "3.2.5",
"private": true,
"appName": "Assets UI",
"sbcName": "SBC Common Components",
Expand Down
4 changes: 2 additions & 2 deletions ppr-ui/src/views/mhrInformation/MhrInformation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -892,10 +892,10 @@ export default defineComponent({
const isTransportPermitDisabled = isChangeLocationActive.value ||
isAmendLocationActive.value || isCancelChangeLocationActive.value
const isRoleBasedTransferDisabled = !isRoleStaffReg.value || localState.disableRoleBaseTransfer
const isRoleBasedTransferDisabled = !isRoleStaffReg.value && localState.disableRoleBaseTransfer
return isFrozenMhr || isTransportPermitDisabled ||
((hasLien.value && !localState.isLienRegistrationTypeSA) && isRoleBasedTransferDisabled)
((hasLien.value && !localState.isLienRegistrationTypeSA) || isRoleBasedTransferDisabled)
}),
// Transport Permit
Expand Down

0 comments on commit b24a07d

Please sign in to comment.