Skip to content
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

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

severinbeauvais
Copy link
Collaborator

Issue #: bcgov/entity#15538

Description of changes:

  • app version = 5.11.21
  • added court order initial case
  • fixed registrar initial case
  • fixed lint warning

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).

- added court order initial case
- fixed registrar initial case
- fixed lint warning
@severinbeauvais severinbeauvais self-assigned this Sep 25, 2024
@severinbeauvais
Copy link
Collaborator Author

/gcbrun

@bcregistry-sre
Copy link
Collaborator

bcregistry-sre commented Sep 25, 2024

@@ -3,6 +3,7 @@
<ApprovalTypeShared
class="pa-8"
:courtOrderNumber="getRestoration.courtOrder.fileNumber"
:approvedByCourtOrder="approvedByCourtOrder"
Copy link
Collaborator Author

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)
Copy link
Collaborator Author

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.

Copy link
Collaborator

@ArwenQin ArwenQin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@severinbeauvais severinbeauvais merged commit ca31190 into bcgov:main Sep 25, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants