Skip to content

Commit

Permalink
- app version = 5.6.33 (#619)
Browse files Browse the repository at this point in the history
- do not save numbered name
- do not restore numbered name

Co-authored-by: Severin Beauvais <severin.beauvais@gov.bc.ca>
  • Loading branch information
severinbeauvais and Severin Beauvais authored Jan 10, 2024
1 parent d8e76a0 commit e90228e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 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.6.32",
"version": "5.6.33",
"private": true,
"appName": "Create UI",
"sbcName": "SBC Common Components",
Expand Down
4 changes: 0 additions & 4 deletions src/mixins/filing-template-mixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,7 @@ export default class FilingTemplateMixin extends Mixins(AmalgamationMixin, DateM
filing.amalgamationApplication.nameRequest.nrNumber = this.getNameRequestNumber
break
case CorrectNameOptions.CORRECT_AML_NUMBERED:
// save numbered name
filing.amalgamationApplication.nameRequest.correctNameOption = CorrectNameOptions.CORRECT_AML_NUMBERED
filing.amalgamationApplication.nameRequest.legalName = this.getNameRequestApprovedName
break
}

Expand Down Expand Up @@ -271,8 +269,6 @@ export default class FilingTemplateMixin extends Mixins(AmalgamationMixin, DateM
break
case CorrectNameOptions.CORRECT_AML_NUMBERED:
this.setCorrectNameOption(CorrectNameOptions.CORRECT_AML_NUMBERED)
// restore numbered name
this.setNameRequestApprovedName(nameRequest.legalName)
break
default:
// fallback for draft created without Correct Name Option
Expand Down

0 comments on commit e90228e

Please sign in to comment.