comparison client/src/linetool/Linetool.vue @ 1027:04a9e78dcc5f

refac: remove morphstore. not necessary
author Thomas Junk <thomas.junk@intevation.de>
date Wed, 24 Oct 2018 14:17:51 +0200
parents ca628dce90dd
children e3df77b8074f
comparison
equal deleted inserted replaced
1026:3de54d7b7d30 1027:04a9e78dcc5f
49 this.$store.commit("application/toggleDrawModeLine"); 49 this.$store.commit("application/toggleDrawModeLine");
50 } 50 }
51 }, 51 },
52 computed: { 52 computed: {
53 ...mapGetters("application", ["drawMode"]), 53 ...mapGetters("application", ["drawMode"]),
54 ...mapState("identifystore", ["identifiedFeatures", "selectedMorph"]), 54 ...mapState("identifystore", ["identifiedFeatures"]),
55 ...mapState("morphstore", ["selectedMorph"]), 55 ...mapState("fairwayprofile", ["selectedMorph"]),
56 icon() { 56 icon() {
57 return { 57 return {
58 fa: true, 58 fa: true,
59 "fa-pencil": !this.selectedMorph, 59 "fa-pencil": !this.selectedMorph,
60 "fa-pencil inverted": !this.selectedMorph && this.drawMode, 60 "fa-pencil inverted": !this.selectedMorph && this.drawMode,