Skip to content

Commit

Permalink
- app version = 5.11.21 (#736)
Browse files Browse the repository at this point in the history
- added court order initial case
- fixed registrar initial case
- fixed lint warning

Co-authored-by: Severin Beauvais <[email protected]>
  • Loading branch information
severinbeauvais and Severin Beauvais authored Sep 25, 2024
1 parent 1b9dfdf commit ca31190
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 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.11.20",
"version": "5.11.21",
"private": true,
"appName": "Create UI",
"sbcName": "SBC Common Components",
Expand Down
7 changes: 6 additions & 1 deletion src/components/Restoration/ApprovalType.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<ApprovalTypeShared
class="pa-8"
:courtOrderNumber="getRestoration.courtOrder.fileNumber"
:approvedByCourtOrder="approvedByCourtOrder"
:approvedByRegistrar="approvedByRegistrar"
:noticeDate="getRestoration.noticeDate"
:applicationDate="getRestoration.applicationDate"
Expand Down Expand Up @@ -44,8 +45,12 @@ export default class ApprovalType extends Vue {
@Action(useStore) setRestorationCourtOrder!: (x: CourtOrderIF) => void
@Action(useStore) setRestorationNoticeDate!: (x: string) => void
get approvedByCourtOrder (): boolean {
return !!this.getRestoration.courtOrder.fileNumber
}
get approvedByRegistrar (): boolean {
return (!!this.getRestoration.noticeDate && !!this.getRestoration.applicationDate)
return (!!this.getRestoration.noticeDate || !!this.getRestoration.applicationDate)
}
}
</script>
2 changes: 1 addition & 1 deletion src/views/Restoration/RestorationBusinessName.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<h2>Restoration Type</h2>
<p class="pt-2">
Determine the restoration and approval type.
</p>
</p>
</header>
<v-card
flat
Expand Down

0 comments on commit ca31190

Please sign in to comment.