Skip to content

Commit

Permalink
Fixed bug with certify if submitting the amalgamation failed (bcgov#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
JazzarKarim authored Jan 10, 2024
1 parent 65c7316 commit 55f03dc
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.6.30",
"version": "5.6.31",
"private": true,
"appName": "Create UI",
"sbcName": "SBC Common Components",
Expand Down
11 changes: 11 additions & 0 deletions src/views/AmalgamationRegular/ReviewConfirm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,17 @@ export default class AmalgamationRegularReviewConfirm extends Vue {
@Action(useStore) setHasPlanOfArrangement!: (x: boolean) => void
@Action(useStore) setIsFutureEffective!: (x: boolean) => void
/**
* In case submitting the amalgamation 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 55f03dc

Please sign in to comment.