Skip to content

Commit

Permalink
Include Trustees in the condition
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-eyds committed Sep 20, 2024
1 parent d3bed0f commit b35a83a
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.58",
"version": "3.2.59",
"private": true,
"appName": "Assets UI",
"sbcName": "SBC Common Components",
Expand Down
4 changes: 2 additions & 2 deletions ppr-ui/src/composables/mhrInformation/useTransferOwners.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ export const useTransferOwners = (enableAllActions: boolean = false) => {
switch (getMhrTransferType.value?.transferType) {
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))
return ![HomeOwnerPartyTypes.EXECUTOR, HomeOwnerPartyTypes.ADMINISTRATOR, HomeOwnerPartyTypes.TRUSTEE]
.includes(owner.partyType) && !groupHasAllBusinesses(getCurrentGroupById(owner.groupId))
case ApiTransferTypes.TO_EXECUTOR_PROBATE_WILL:
case ApiTransferTypes.TO_ADMIN_NO_WILL:
return !groupHasAllBusinesses(getCurrentGroupById(owner.groupId))
Expand Down

0 comments on commit b35a83a

Please sign in to comment.