Skip to content

Commit

Permalink
26104 - Display NR name when restoration (#770)
Browse files Browse the repository at this point in the history
* Display NR name when restoration

Signed-off-by: Qin <[email protected]>

* remove business legal name check

Signed-off-by: Qin <[email protected]>

* remove business legal name check 2

Signed-off-by: Qin <[email protected]>

---------

Signed-off-by: Qin <[email protected]>
  • Loading branch information
ArwenQin authored Feb 25, 2025
1 parent 44de134 commit 666a1e6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 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-create-ui",
"version": "5.14.7",
"version": "5.14.8",
"private": true,
"appName": "Create UI",
"sbcName": "SBC Common Components",
Expand Down
3 changes: 1 addition & 2 deletions src/components/Restoration/BusinessName.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ import { NameRequestErrorDialog } from '@/dialogs/'
export default class BusinessName extends Mixins(CommonMixin, DateMixin, NameRequestMixin) {
// Global getters
@Getter(useStore) getBusinessId!: string
@Getter(useStore) getBusinessLegalName!: string
@Getter(useStore) getCorrectNameOption!: CorrectNameOptions
@Getter(useStore) getEntityType!: CorpTypeCd
@Getter(useStore) getNameRequest!: NameRequestIF
Expand All @@ -112,7 +111,7 @@ export default class BusinessName extends Mixins(CommonMixin, DateMixin, NameReq
/** The company name. */
get companyName (): string {
return (this.getNameRequestApprovedName || this.getBusinessLegalName)
return (this.getNameRequestApprovedName)
}
/** This section's validity state (when prompted by app). */
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/EntityInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default class EntityInfo extends Mixins(DateMixin) {
case FilingTypes.REGISTRATION:
return (this.getNameRequestApprovedName || numberedDescription)
case FilingTypes.RESTORATION:
return (this.getBusinessLegalName || numberedDescription)
return (this.getNameRequestApprovedName || numberedDescription)
}
return '' // should never happen
}
Expand Down

0 comments on commit 666a1e6

Please sign in to comment.