diff --git a/package-lock.json b/package-lock.json index 9263e8d97..763b6857d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "business-create-ui", - "version": "5.9.1", + "version": "5.9.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "business-create-ui", - "version": "5.9.1", + "version": "5.9.2", "dependencies": { "@babel/compat-data": "^7.21.5", "@bcrs-shared-components/approval-type": "1.0.19", diff --git a/package.json b/package.json index eb3141cfa..a119cc53c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "business-create-ui", - "version": "5.9.1", + "version": "5.9.2", "private": true, "appName": "Create UI", "sbcName": "SBC Common Components", diff --git a/src/components/Amalgamation/AmalgamatingBusinesses.vue b/src/components/Amalgamation/AmalgamatingBusinesses.vue index 7efb29723..c9fe56d8c 100644 --- a/src/components/Amalgamation/AmalgamatingBusinesses.vue +++ b/src/components/Amalgamation/AmalgamatingBusinesses.vue @@ -567,7 +567,7 @@ export default class AmalgamatingBusinesses extends Mixins(AmalgamationMixin, Co // fetch the new holding/primary business' data and update the prepopulated data // this will overwrite office addresses, directors, share structure and contact info - this.updatePrepopulatedData(business, true) + await this.updatePrepopulatedData(business, true) } catch (error) { // eslint-disable-next-line no-console console.log('Error setting new holding/primary business =', error) diff --git a/src/components/common/ListPeopleAndRoles.vue b/src/components/common/ListPeopleAndRoles.vue index 908b58503..692f23ad5 100644 --- a/src/components/common/ListPeopleAndRoles.vue +++ b/src/components/common/ListPeopleAndRoles.vue @@ -76,146 +76,148 @@ - - -
- - mdi-account - - - mdi-domain - -
-
- {{ formatName(orgPerson) }} - -
@@ -265,17 +267,6 @@ export default class ListPeopleAndRoles extends Mixins(CommonMixin) { // Local properties protected activeIndex: number // is NaN for new org/person - /** - * PersonList is filtered by RoleType. - */ - get filteredPersonList (): Array { - if (!this.showDirectors) { - return this.personList.filter(person => !this.isDirector(person)) - } else { - return this.personList - } - } - get tableHeaders (): Array { const headers = ['Name', 'Mailing Address'] if (this.showDeliveryAddressColumn) headers.push('Delivery Address') diff --git a/src/mixins/filing-template-mixin.ts b/src/mixins/filing-template-mixin.ts index 62e25d2c5..6681997a8 100644 --- a/src/mixins/filing-template-mixin.ts +++ b/src/mixins/filing-template-mixin.ts @@ -144,8 +144,7 @@ export default class FilingTemplateMixin extends Mixins(AmalgamationMixin, DateM amalgamatingBusinesses: this.getAmalgamatingBusinesses, type: this.getAmalgamationType, nameRequest: { - legalType: this.getEntityType, - correctNameOption: this.getCorrectNameOption + legalType: this.getEntityType }, nameTranslations: this.getNameTranslations, offices: this.getDefineCompanyStep.officeAddresses, @@ -258,7 +257,6 @@ export default class FilingTemplateMixin extends Mixins(AmalgamationMixin, DateM // restore business name data const nameRequest = draftFiling.amalgamationApplication.nameRequest as NameRequestFilingIF - switch (nameRequest?.correctNameOption) { case CorrectNameOptions.CORRECT_AML_ADOPT: this.setCorrectNameOption(CorrectNameOptions.CORRECT_AML_ADOPT) @@ -267,16 +265,14 @@ export default class FilingTemplateMixin extends Mixins(AmalgamationMixin, DateM break case CorrectNameOptions.CORRECT_NEW_NR: this.setCorrectNameOption(CorrectNameOptions.CORRECT_NEW_NR) - // NB: do not restore Name Request data - // it will be reloaded from NR endpoint in App.vue + // NB: do not restore Name Request data - it will be reloaded from NR endpoint in App.vue break case CorrectNameOptions.CORRECT_AML_NUMBERED: this.setCorrectNameOption(CorrectNameOptions.CORRECT_AML_NUMBERED) 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 + // 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) } @@ -440,16 +436,14 @@ export default class FilingTemplateMixin extends Mixins(AmalgamationMixin, DateM break case CorrectNameOptions.CORRECT_NEW_NR: this.setCorrectNameOption(CorrectNameOptions.CORRECT_NEW_NR) - // NB: do not restore Name Request data - // it will be reloaded from NR endpoint in App.vue + // NB: do not restore Name Request data - it will be reloaded from NR endpoint in App.vue break case CorrectNameOptions.CORRECT_AML_NUMBERED: this.setCorrectNameOption(CorrectNameOptions.CORRECT_AML_NUMBERED) 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 + // 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) } @@ -931,8 +925,7 @@ export default class FilingTemplateMixin extends Mixins(AmalgamationMixin, DateM // restore Business Type Confirm this.setRegistrationBusinessTypeConfirm(draftFiling.registration.businessTypeConfirm || false) - // NB: do not restore Name Request data - // it will be reloaded from NR endpoint in App.vue + // NB: do not restore Name Request data - it will be reloaded from NR endpoint in App.vue // restore Entity Type this.setEntityType(draftFiling.registration.nameRequest.legalType) @@ -1018,8 +1011,7 @@ export default class FilingTemplateMixin extends Mixins(AmalgamationMixin, DateM break case CorrectNameOptions.CORRECT_NEW_NR: this.setCorrectNameOption(CorrectNameOptions.CORRECT_NEW_NR) - // NB: do not restore Name Request data - // it will be reloaded from NR endpoint in App.vue + // NB: do not restore Name Request data - it will be reloaded from NR endpoint in App.vue break }