-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
15538 Fixed court order type not being restored #736
Conversation
- added court order initial case - fixed registrar initial case - fixed lint warning
/gcbrun |
Temporary Url for review: https://business-create-dev--pr-736-9p7t2cem.web.app SB says, try this: https://business-create-dev--pr-736-9p7t2cem.web.app/restoration-business-name?id=BC0872082 |
@@ -3,6 +3,7 @@ | |||
<ApprovalTypeShared | |||
class="pa-8" | |||
:courtOrderNumber="getRestoration.courtOrder.fileNumber" | |||
:approvedByCourtOrder="approvedByCourtOrder" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed to set the initial state of the (shared) ApprovalType component. Without this, the court order option (and its value) were not being restored/displayed.
get approvedByRegistrar (): boolean { | ||
return (!!this.getRestoration.noticeDate && !!this.getRestoration.applicationDate) | ||
return (!!this.getRestoration.noticeDate || !!this.getRestoration.applicationDate) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bugfix: show this option if either date was entered.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Issue #: bcgov/entity#15538
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).