diff client/src/App.vue @ 816:cd79f62794dd

client: prepare survey selection * Add a new component Morphtool that will show an icon, if a bottleneck was identified. A click on the icon removes the selectedFeatures again.
author Bernhard Reiter <bernhard@intevation.de>
date Thu, 27 Sep 2018 17:38:28 +0200
parents badbc0207418
children dcad6628a8ee
line wrap: on
line diff
--- a/client/src/App.vue	Thu Sep 27 17:32:48 2018 +0200
+++ b/client/src/App.vue	Thu Sep 27 17:38:28 2018 +0200
@@ -17,6 +17,7 @@
             </div>
             <div class="bottomcontainer d-flex flex-row align-items-end">
                 <Userbar></Userbar>
+                <Morphtool v-if="routeName == 'mainview'"></Morphtool>
                 <Linetool v-if="routeName == 'mainview'"></Linetool>
             </div>
         </div>
@@ -89,6 +90,7 @@
 import { mapGetters } from "vuex";
 import Userbar from "./application/Userbar";
 import Linetool from "./application/Linetool";
+import Morphtool from "./application/Morphtool";
 
 export default {
   name: "app",
@@ -103,7 +105,8 @@
     Sidebar,
     Topbar,
     Userbar,
-    Linetool
+    Linetool,
+    Morphtool
   }
 };
 </script>