Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Severin Beauvais committed Sep 24, 2024
1 parent 4e755a3 commit ad5db52
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/common/Actions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,10 @@ export default class Actions extends Mixins(AmalgamationMixin, CommonMixin,
// prompt step validations
this.setValidateSteps(true)
// wait extra long for Continuation In Authorization to validate
// (whereas regular filings validate when getShowErrors is true)
if (this.isContinuationInAuthorization) await flushPromises()
if (this.getFilingType === FilingTypes.AMALGAMATION_APPLICATION) {
try {
// Re-fetch the business table data. We do this in case one of the businesses has changed (eg,
Expand All @@ -297,9 +301,6 @@ export default class Actions extends Mixins(AmalgamationMixin, CommonMixin,
}
}
// wait extra long for Continuation In Authorization to validate
if (this.isContinuationInAuthorization) await flushPromises()
if (this.isFilingValid) {
// prevent double saving
if (this.isBusySaving) return
Expand Down

0 comments on commit ad5db52

Please sign in to comment.