Skip to content

Commit

Permalink
Affe Restrictions and A11Y adjustment (#2026)
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-eyds authored Sep 20, 2024
1 parent 372f510 commit d3bed0f
Show file tree
Hide file tree
Showing 4 changed files with 8 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.57",
"version": "3.2.58",
"private": true,
"appName": "Assets UI",
"sbcName": "SBC Common Components",
Expand Down
2 changes: 1 addition & 1 deletion ppr-ui/src/components/tables/SearchHistory.vue
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
variant="plain"
:ripple="false"
:loading="item.loadingPDF"
aria-label="Download report, Download PDF"
aria-label="Download PDF"
@click="downloadPDF(item)"
>
<img src="@/assets/svgs/pdf-icon-blue.svg">
Expand Down
5 changes: 4 additions & 1 deletion ppr-ui/src/composables/mhrInformation/useTransferOwners.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,11 @@ export const useTransferOwners = (enableAllActions: boolean = false) => {
if (enableAllActions) return true

switch (getMhrTransferType.value?.transferType) {
case ApiTransferTypes.TO_EXECUTOR_PROBATE_WILL:
case ApiTransferTypes.TO_EXECUTOR_UNDER_25K_WILL:
// Disable Owner actions for Executors and Admins in Trans Affi - Staff Only Transfer
return ![HomeOwnerPartyTypes.EXECUTOR, HomeOwnerPartyTypes.ADMINISTRATOR].includes(owner.partyType) &&
!groupHasAllBusinesses(getCurrentGroupById(owner.groupId))
case ApiTransferTypes.TO_EXECUTOR_PROBATE_WILL:
case ApiTransferTypes.TO_ADMIN_NO_WILL:
return !groupHasAllBusinesses(getCurrentGroupById(owner.groupId))
case ApiTransferTypes.SALE_OR_GIFT:
Expand Down

0 comments on commit d3bed0f

Please sign in to comment.