changeset 5079:32948cba9824 time-sliding

client: correct states for time-slider in store
author Fadi Abbud <fadi.abbud@intevation.de>
date Mon, 16 Mar 2020 12:43:53 +0100
parents 81fb077cd3f8
children faa1521e597b
files client/src/store/map.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/store/map.js	Mon Mar 16 12:40:58 2020 +0100
+++ b/client/src/store/map.js	Mon Mar 16 12:43:53 2020 +0100
@@ -104,10 +104,10 @@
       state.ongoingRefresh = false;
     },
     startTimeSlide: state => {
-      state.ongoingRefresh = true;
+      state.ongoingTimeSlide = true;
     },
     finishTimeSlide: state => {
-      state.ongoingRefresh = false;
+      state.ongoingTimeSlide = false;
     },
     initialLoad: (state, initialLoad) => {
       state.initialLoad = initialLoad;