Skip to content

Commit

Permalink
Hide Non-Res Exmp dropdown option for Cancelled MHRs (#1923)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimak1 authored Jun 7, 2024
1 parent b80ae48 commit b183f9b
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.2.14",
"version": "3.2.15",
"private": true,
"appName": "Assets UI",
"sbcName": "SBC Common Components",
Expand Down
3 changes: 2 additions & 1 deletion ppr-ui/src/components/tables/common/TableRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@
</v-list-item-subtitle>
</v-list-item>
<v-list-item
v-if="isRoleStaffReg && isExemptionEnabled"
v-if="isRoleStaffReg && isExemptionEnabled && item.statusType !== MhApiStatusTypes.CANCELLED"
data-test-id="non-res-exemption-btn"
:disabled="!isNonResExemptionEnabled ||
item.frozenDocumentType === MhApiFrozenDocumentTypes.TRANS_AFFIDAVIT"
Expand Down Expand Up @@ -1174,6 +1174,7 @@ export default defineComponent({
UnitNoteDocTypes,
HomeLocationTypes,
isNonResExemptionEnabled,
MhApiStatusTypes,
...toRefs(localState)
}
}
Expand Down

0 comments on commit b183f9b

Please sign in to comment.