Skip to content

Commit

Permalink
- app version = 4.10.4 (#581)
Browse files Browse the repository at this point in the history
- don't show name change checkbox for orgs

Co-authored-by: Severin Beauvais <severin.beauvais@gov.bc.ca>
  • Loading branch information
severinbeauvais and Severin Beauvais authored Aug 1, 2024
1 parent 55f7666 commit 82f952b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions 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 package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "business-edit-ui",
"version": "4.10.3",
"version": "4.10.4",
"private": true,
"appName": "Edit UI",
"sbcName": "SBC Common Components",
Expand Down
3 changes: 2 additions & 1 deletion src/components/common/PeopleAndRoles/OrgPerson.vue
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,8 @@ export default class OrgPerson extends Mixins(CommonMixin, OrgPersonMixin) {
return (firstName || lastName || middleName)
}
// is this a pre-existing org?
if (this.isPreExisting && this.isOrg) {
// does not appy to firm corrections
if (this.isPreExisting && this.isOrg && !this.isFirmCorrectionFiling) {
return !isEqual(orgPerson.officer.organizationName, this.currentOrgPerson?.officer.organizationName)
}
return false // should never happen
Expand Down

0 comments on commit 82f952b

Please sign in to comment.