Open henrikaskj opened 1 year ago
How to reproduce:
The zoom level will be reset if you search while the map tab is selected. When you are in table view, "action"/"reason" in fetchResults is undefined, preventing the zoom level from resetting: https://github.com/SemanticComputing/sampo-ui/blob/f407d147257e8781c86b1c04c93253cab8c09349/src/client/reducers/general/helpers.js#L9
How to reproduce:
The zoom level will be reset if you search while the map tab is selected. When you are in table view, "action"/"reason" in fetchResults is undefined, preventing the zoom level from resetting: https://github.com/SemanticComputing/sampo-ui/blob/f407d147257e8781c86b1c04c93253cab8c09349/src/client/reducers/general/helpers.js#L9