Skip to content

Commit

Permalink
Merge pull request #757 from meawong/24082-Fix-Review-and-Certify-Ste…
Browse files Browse the repository at this point in the history
…pper-Validation

24082 Fix Review and Certify Stepper Validation when Incorporation Fails
  • Loading branch information
meawong authored Nov 4, 2024
2 parents 07a00e1 + 2e4669f commit 873515a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 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.0",
"version": "5.14.1",
"private": true,
"appName": "Create UI",
"sbcName": "SBC Common Components",
Expand Down
11 changes: 11 additions & 0 deletions src/views/Incorporation/IncorporationReviewConfirm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,17 @@ export default class IncorporationReviewConfirm extends Vue {
@Action(useStore) setHasPlanOfArrangement!: (x: boolean) => void
@Action(useStore) setIsFutureEffective!: (x: boolean) => void
/**
* In case submitting the incorporation failed, we want to reset the validity of Certify.
* This is since the checkbox has to be ticked again after the save dialog has been closed.
*/
mounted (): void {
this.setCertifyState({
certifiedBy: this.getCertifyState.certifiedBy,
valid: false
})
}
/** The entity description, */
get getEntityDescription (): string {
return GetCorpFullDescription(this.getEntityType)
Expand Down

0 comments on commit 873515a

Please sign in to comment.