bcgov / parks-reso-admin

Day Use Pass
Apache License 2.0
4 stars 13 forks source link

BRS-1166: Avoiding filter changes when data in backend does not change. #280

Closed marklise closed 1 year ago

marklise commented 1 year ago

Jira Ticket:

BRS-1166

Jira Ticket URL:

https://bcparksdigital.atlassian.net/browse/BRS-1166

Description:

This solves an issue where the filters are getting force updated from the auto-fetcher service even if there were no changes to park and facility list data. This will deal with 99% of the cases where there are no changes. When there are changes, it will reset the UI but that is to be expected because we won't want the user to be able to send queries to say, non-existing facilities anymore, therefore the dropdowns should change.