diff client/src/store/fairway.js @ 2391:123e7f43b676

fairway_store: fix cleanup bug
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 25 Feb 2019 16:16:33 +0100
parents 13de09e30645
children 3c17d401fbd4
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;