changeset 2391:123e7f43b676

fairway_store: fix cleanup bug
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 25 Feb 2019 16:16:33 +0100
parents fde9c0f85455
children 0b8793a1947c 86c7a023400e
files client/src/store/fairway.js
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/store/fairway.js	Mon Feb 25 16:00:31 2019 +0100
+++ b/client/src/store/fairway.js	Mon Feb 25 16:16:33 2019 +0100
@@ -114,6 +114,9 @@
       state.fairwayData = [];
       state.startPoint = null;
       state.endPoint = null;
+      state.referenceWaterLevel = null;
+      state.waterLevels = {};
+      state.selectedWaterLevel = "";
     },
     previousCuts: (state, previousCuts) => {
       state.previousCuts = previousCuts;