Mercurial > gemma
diff client/src/store/gauges.js @ 4478:51dc4811a0e6
Gauges: Instead of dynamically scroll use crosshairs button
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 25 Sep 2019 16:52:40 +0200 |
parents | 18a34d9b289c |
children | de86a96d55c3 |
line wrap: on
line diff
--- a/client/src/store/gauges.js Wed Sep 25 16:11:23 2019 +0200 +++ b/client/src/store/gauges.js Wed Sep 25 16:52:40 2019 +0200 @@ -131,6 +131,11 @@ }); }); }, + setSelectedGaugeISRS: ({ commit, state }, isrs) => { + if (state.selectedGaugeISRS !== isrs) { + commit("selectedGaugeISRS", isrs); + } + }, selectedGaugeISRS: ({ commit, dispatch, state }, isrs) => { if (state.selectedGaugeISRS !== isrs) { commit("selectedGaugeISRS", isrs);