Mercurial > gemma
diff client/src/application/Topbar.vue @ 649:83081ba6c9c1
feat: Linetool added
In order to draw lines for allocating profiles,
a basic implementation of line drawing was added.
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Thu, 13 Sep 2018 16:55:53 +0200 |
parents | c2f040dba57f |
children | 3e2eeb215d0e |
line wrap: on
line diff
--- a/client/src/application/Topbar.vue Thu Sep 13 14:11:33 2018 +0200 +++ b/client/src/application/Topbar.vue Thu Sep 13 16:55:53 2018 +0200 @@ -71,6 +71,7 @@ components: { Layers: Layers }, + props: ["routeName"], methods: { toggleSidebar() { this.$store.commit("application/toggleSidebar"); @@ -78,12 +79,6 @@ splitScreen() { this.$store.commit("application/toggleSplitScreen"); } - }, - computed: { - routeName() { - const routeName = this.$route.name; - return routeName; - } } }; </script>