-
Notifications
You must be signed in to change notification settings - Fork 43
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
18201 Fix error after pressing Incorporate now #749
Conversation
Eve, please assign yourself to this PR (so that the check can run), and then enter "gcbrun" to create the preview site where reviewers (and you) can test it. Thanks. |
/gcbrun |
Temporary Url for review: https://namerequest-dev--pr-749-1sj098ao.web.app |
@JazzarKarim Do you think adding a condition as account.id != 0 before invoking this.incorporateNow is good @ https://github.com/bcgov/namerequest/blob/main/src/App.vue#L272 |
Why not use the |
/gcbrun |
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.
LGTM after last commit! 👍
Temporary Url for review: https://namerequest-dev--pr-749-1sj098ao.web.app |
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.
LGTM.
Issue #: bcgov/entity#18201
Description of changes:
An account id is required to go further incorp. If user back to NR page without logged in, the error occurred since no account id retrieved. If account id === 0, just simply go back to NR with out error.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namerequest license (Apache 2.0).