dragonfly-science / bailiwick-ui

Bailiwick frontend
1 stars 1 forks source link

Changing to an indicator without features doesn't unselect the selected feature. #45

Closed richardmansfield closed 4 years ago

richardmansfield commented 4 years ago

If you select an indicator with features (e.g. Income estimates by sex), then a default feature (e.g. females) is selected for you. If you then go back to an indicator without features, you still end up with the old feature in the url, and no data is found.

Logging shows that the app clears the feature in its state, but then subsequently overwrites the empty feature with the old feature when the new indicator data arrives.