Skip to content

Commit

Permalink
Preserve default group in so/jt scenarios (bcgov#2099)
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-eyds authored Jan 31, 2025
1 parent 94fec31 commit 032960d
Show file tree
Hide file tree
Showing 3 changed files with 4 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.10",
"version": "3.3.11",
"private": true,
"appName": "Assets UI",
"sbcName": "SBC Common Components",
Expand Down
2 changes: 1 addition & 1 deletion ppr-ui/src/composables/mhrRegistration/useHomeOwners.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export function useHomeOwners (isMhrTransfer: boolean = false, isMhrCorrection:
}

// Remove first group option when there is existing SO/JT
if (!showGroups.value && homeOwnerGroups.length && isMhrTransfer) dropDownItems.shift()
if (!showGroups.value && homeOwnerGroups.length) dropDownItems.shift()

// Handle Edit Defaults
if (!dropDownItems.length) return [{ title: 'Group 1 (New Group)', value: DEFAULT_GROUP_ID }]
Expand Down

0 comments on commit 032960d

Please sign in to comment.