bcgov / nr-spar

SPAR app from FDS (Forestry Digital Services)
https://www2.gov.bc.ca/gov/content/industry/forestry/managing-our-forest-resources/tree-seed/seed-planning-use/spar
Apache License 2.0
1 stars 0 forks source link

Refactor client and location logic #1175

Closed mgaseta closed 1 month ago

mgaseta commented 1 month ago

The current implementation of the client and location logic is causing a bug on the review process, this refactor is to fix that issue and also make the frontend more efficient.

To reproduce the issue:

  1. After registering a seedlot, go to the review page
  2. Click the Edit seedlot button
  3. On the Collection section, try to edit agency field
  4. The input maybe wrongly filled (intermittent issue, probably due to async calls)
  5. Edit won't be possible

Screenshot from 2024-05-23 15-14-48