-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: CE-1014 update web eoc filter to include complaints with a violation type of waste or pesticide in any region #649
base: release/orca
Are you sure you want to change the base?
Conversation
…orcement-Complaint (#596) Co-authored-by: Barrett Falk <[email protected]> Co-authored-by: gregorylavery <[email protected]> Co-authored-by: Scarlett <[email protected]> Co-authored-by: Mike <[email protected]> Co-authored-by: Mike Sears <[email protected]>
…etails do not appear in NatCom (#598) Co-authored-by: Barrett Falk <[email protected]> Co-authored-by: gregorylavery <[email protected]> Co-authored-by: Scarlett <[email protected]> Co-authored-by: dmitri-korin-bcps <[email protected]> Co-authored-by: Mike Sears <[email protected]>
Co-authored-by: Barrett Falk <[email protected]> Co-authored-by: Scarlett <[email protected]> Co-authored-by: Mike <[email protected]> Co-authored-by: dmitri-korin-bcps <[email protected]> Co-authored-by: Mike Sears <[email protected]>
Co-authored-by: Barrett Falk <[email protected]>
Co-authored-by: Mike Sears <[email protected]> Co-authored-by: gregorylavery <[email protected]> Co-authored-by: barrfalk <[email protected]>
Co-authored-by: Mike Sears <[email protected]> Co-authored-by: Barrett Falk <[email protected]>
Co-authored-by: Barrett Falk <[email protected]> Co-authored-by: gregorylavery <[email protected]> Co-authored-by: Mike <[email protected]> Co-authored-by: dmitri-korin-bcps <[email protected]> Co-authored-by: Mike Sears <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: afwilcox <[email protected]>
Co-authored-by: afwilcox <[email protected]>
Co-authored-by: Mike Sears <[email protected]> Co-authored-by: Barrett Falk <[email protected]> Co-authored-by: afwilcox <[email protected]>
#613) Co-authored-by: afwilcox <[email protected]>
Co-authored-by: afwilcox <[email protected]>
#623) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: afwilcox <[email protected]>
Co-authored-by: afwilcox <[email protected]>
Co-authored-by: afwilcox <[email protected]>
Co-authored-by: afwilcox <[email protected]>
Co-authored-by: Mike Sears <[email protected]>
Co-authored-by: Scarlett <[email protected]> Co-authored-by: Barrett Falk <[email protected]> Co-authored-by: Scarlett <[email protected]> Co-authored-by: afwilcox <[email protected]>
… with bonus typo fixes (#628)
…lds - incorrect toast (#629) Co-authored-by: Mike Sears <[email protected]> Co-authored-by: afwilcox <[email protected]>
Co-authored-by: afwilcox <[email protected]>
Get all flag_COS complaints, or complaints that have a violation type of waste or pesticide.
…ude-complaints-with-a-violation-type-of-Waste-or-Pesticide-in-any-region
return response.data as Complaint[]; | ||
const complaints = response.data as Complaint[]; | ||
let filteredComplaints: Complaint[]; | ||
if (flagName === WEBEOC_FLAGS.COMPLAINTS) { |
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 logic is incorrect. It will only work for complaints but not Updates, Actions Taken or Updates to Actions Taken.
As a result Complaints are being filtered properly but all other messages are going through regardless of if the flag is set or not. E.g. if I create an update for a complaint in Victoria, the complaint is properly filtered out but the update is staged (and promptly errors because it can't find the complaint)
Quality Gate passedIssues Measures |
Description
NATCom will now accept the following complaints from WebEOC:
Fixes # (issue)
How Has This Been Tested?
Checklist
Further comments
Thanks for the PR!
Deployments, as required, will be available below:
Please create PRs in draft mode. Mark as ready to enable:
After merge, new images are deployed in: