Skip to content

Commit

Permalink
Business Party Types Fix (#2078)
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-eyds authored Dec 5, 2024
1 parent 69bbc3a commit ee58442
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.3.9",
"version": "3.3.10",
"private": true,
"appName": "Assets UI",
"sbcName": "SBC Common Components",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,8 @@ export default defineComponent({
middle: props.editHomeOwner?.individualName.middle || '',
last: props.editHomeOwner?.individualName.last || ''
}
} else {
} else if (![HomeOwnerPartyTypes.EXECUTOR, HomeOwnerPartyTypes.ADMINISTRATOR, HomeOwnerPartyTypes.TRUSTEE]
.includes(props.editHomeOwner?.partyType)) {
defaultHomeOwner.organizationName = props.editHomeOwner?.organizationName || ''
defaultHomeOwner.partyType = HomeOwnerPartyTypes.OWNER_BUS
}
Expand Down

0 comments on commit ee58442

Please sign in to comment.