Skip to content

Commit

Permalink
- app version = 5.6.20
Browse files Browse the repository at this point in the history
- added fallback for drafts created without Correct Name Option
  • Loading branch information
Severin Beauvais committed Jan 2, 2024
1 parent b4cadcc commit 81c5421
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/mixins/filing-template-mixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,13 @@ export default class FilingTemplateMixin extends Mixins(AmalgamationMixin, DateM
// restore numbered name
this.setNameRequestApprovedName(nameRequest.legalName)
break
default:
// fallback for draft created without Correct Name Option
// NB: do not restore Name Request data
// it will be reloaded from NR endpoint in App.vue
if (nameRequest.nrNumber) {
this.setCorrectNameOption(CorrectNameOptions.CORRECT_NEW_NR)
}
}

// restore Name Translations
Expand Down

0 comments on commit 81c5421

Please sign in to comment.