bcgov / nr-compliance-enforcement

A scalable solution that manages public complaints as well as investigative case files for multiple Compliance and Enforcement divisions across the natural resource sector.
Apache License 2.0
3 stars 2 forks source link

fix: Ce 478 #685

Closed gregorylavery closed 2 months ago

gregorylavery commented 2 months ago

Resets the values for the long and lat when the user presses the 'cancel changes' button.

Description

Please provide a summary of the change and the issue fixed. Please include relevant context. List dependency changes. The current code sets an interim value when the users changes the lat or long and then updates the map with that, when cancelling these values are retained when they should be reset to the originally saved values.

Test procedure:

Fixes # (issue)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

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:

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

nayr974 commented 2 months ago

Pulled locally and tested, confirmed lat/long were reverted to the original values: image