Skip to content

Commit

Permalink
Merge branch 'release/pacific-spiny-lumpsucker' into CE-771-GIR
Browse files Browse the repository at this point in the history
  • Loading branch information
afwilcox authored Jul 18, 2024
2 parents 57cf5e1 + 94afadd commit 08b2b0b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions frontend/cypress/e2e/allegation-details-create.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ describe("Complaint Create Page spec - Create View", () => {
"Caller was involved in an altercation yesterday with a person who was exceeding the Callers understanding of the limit. SUBs were attempting to catch 5 fish, of each type, each person (total 20.) SUBs male and their wife. Caller requesting CO clarification regarding fish quotas for region 3. Caller has contacted front counter BC, who reported the answer to COS. ---- testing",
location: "2975 Jutland Rd.",
locationDescription: "tester call description 8 ---- testing",
xCoord: "-123.3776771",
yCoord: "48.4405309",
xCoord: "-123.377",
yCoord: "48.440",
incidentDateDay: "01",
incidentTime: "13:45",
community: "Victoria",
Expand Down
4 changes: 2 additions & 2 deletions frontend/cypress/e2e/hwcr-details-create.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ describe("Complaint Create Page spec - Create View", () => {
attractants: ["Livestock", "BBQ", "Beehive"],
attractantCodes: ["LIVESTCK", "BBQ", "BEEHIVE"],
attratantsIndex: [9, 0, 0],
xCoord: "-123.3776771",
yCoord: "48.4405309",
xCoord: "-123.377",
yCoord: "48.440",
community: "Victoria",
office: "Victoria",
zone: "South Island",
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/app/store/reducers/case-thunks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -668,9 +668,7 @@ export const updateReview =
await patch<CaseFileDto>(dispatch, parameters).then(async (res) => {
if (res) {
dispatch(setIsReviewedRequired(res.isReviewRequired));
if (res.reviewComplete) {
dispatch(setReviewComplete(res.reviewComplete));
}
dispatch(setReviewComplete(res.reviewComplete));
dispatch(getComplaintStatusById(complaintId, COMPLAINT_TYPES.HWCR));
ToggleSuccess("File review has been updated");
} else {
Expand Down

0 comments on commit 08b2b0b

Please sign in to comment.