Mercurial > gemma
diff client/src/map/store.js @ 826:90a601884ff2
client: improve survey selection for Morphtool
* Add backend request after a bottleneck has been selected.
Show a list of survey dates and save the selected survey to the store.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Thu, 27 Sep 2018 23:19:31 +0200 |
parents | cd79f62794dd |
children | 0b994949a4a0 |
line wrap: on
line diff
--- a/client/src/map/store.js Thu Sep 27 21:30:52 2018 +0200 +++ b/client/src/map/store.js Thu Sep 27 23:19:31 2018 +0200 @@ -195,7 +195,7 @@ setCurrentMeasurement: (state, measurement) => { state.currentMeasurement = measurement; }, - setSelectedMorpth: (state, selectedMorph) => { + setSelectedMorph: (state, selectedMorph) => { state.selectedMorph = selectedMorph; } }