diff client/src/components/map/fairway/Profiles.vue @ 1399:8e2c9e518440

improved search style - added icons for search result types - added missing box-shadow - improved style when hovering search results
author Markus Kottlaender <markus@intevation.de>
date Wed, 28 Nov 2018 15:45:56 +0100
parents a2ff987555e7
children 3af7ad9717e2
line wrap: on
line diff
--- a/client/src/components/map/fairway/Profiles.vue	Wed Nov 28 15:24:47 2018 +0100
+++ b/client/src/components/map/fairway/Profiles.vue	Wed Nov 28 15:45:56 2018 +0100
@@ -286,9 +286,11 @@
     loadProfile(survey) {
       if (survey) {
         this.$store.commit("fairwayprofile/profileLoading", true);
-        this.$store.dispatch("fairwayprofile/loadProfile", survey).finally(
-          () => this.$store.commit("fairwayprofile/profileLoading", false)
-        );
+        this.$store
+          .dispatch("fairwayprofile/loadProfile", survey)
+          .finally(() =>
+            this.$store.commit("fairwayprofile/profileLoading", false)
+          );
       }
     },
     toggleCutTool() {
@@ -367,8 +369,7 @@
       });
     },
     deleteSelectedCut() {
-      let previousCuts =
-        JSON.parse(localStorage.getItem("previousCuts")) || [];
+      let previousCuts = JSON.parse(localStorage.getItem("previousCuts")) || [];
       previousCuts = previousCuts.filter(cut => {
         return JSON.stringify(cut) !== JSON.stringify(this.selectedCut);
       });