diff client/src/morphtool/Morphtool.vue @ 1015:d2f30a784fb3

feat: add selectfield to fairwayprofile
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 23 Oct 2018 14:28:43 +0200
parents 9d4af4b1c5c8
children ca628dce90dd
line wrap: on
line diff
--- a/client/src/morphtool/Morphtool.vue	Tue Oct 23 13:05:47 2018 +0200
+++ b/client/src/morphtool/Morphtool.vue	Tue Oct 23 14:28:43 2018 +0200
@@ -134,6 +134,10 @@
       })
         .then(response => {
           this.surveyList = response.data;
+          this.$store.commit(
+            "fairwayprofile/setAvailableSurveys",
+            response.data
+          );
         })
         .catch(error => {
           this.surveyList = null;