diff client/src/store/fairwayavailability.js @ 3366:8974efd71917

fa_LNWL: cleanup
author Thomas Junk <thomas.junk@intevation.de>
date Wed, 22 May 2019 09:33:40 +0200
parents 9625c6120d18
children 70605404f37d
line wrap: on
line diff
--- a/client/src/store/fairwayavailability.js	Wed May 22 08:53:43 2019 +0200
+++ b/client/src/store/fairwayavailability.js	Wed May 22 09:33:40 2019 +0200
@@ -35,6 +35,7 @@
     fwData: null,
     fwLNWLData: null,
     fwLNWLOverviewData: [],
+    legendLNWL: null,
     legend: null,
     LOS: 3
   };
@@ -101,6 +102,9 @@
         entry = entry.replace("[h]", "").trim(); // omit unit
         return entry;
       });
+    },
+    setLegendLNWL: (state, headerLNWL) => {
+      this.headerLNWL = headerLNWL;
     }
   },
   actions: {