comparison client/src/components/importoverview/LogEntry.vue @ 4368:e9d2573329da

import_overview: make layer for review togglable (currently only for development visible)
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 10 Sep 2019 16:37:50 +0200
parents e2ed741545e1
children 725bdc6a9d38
comparison
equal deleted inserted replaced
4367:6a985796f401 4368:e9d2573329da
143 const { id } = this.entry; 143 const { id } = this.entry;
144 if (id === this.show) { 144 if (id === this.show) {
145 this.$store.commit("imports/hideDetails"); 145 this.$store.commit("imports/hideDetails");
146 this.$store.commit("imports/hideAdditionalInfo"); 146 this.$store.commit("imports/hideAdditionalInfo");
147 this.$store.commit("imports/hideAdditionalLogs"); 147 this.$store.commit("imports/hideAdditionalLogs");
148 this.$store.commit("map/reviewActive", false);
148 } else { 149 } else {
149 this.loading = true; 150 this.loading = true;
150 HTTP.get("/imports/" + this.entry.id, { 151 HTTP.get("/imports/" + this.entry.id, {
151 headers: { "X-Gemma-Auth": localStorage.getItem("token") } 152 headers: { "X-Gemma-Auth": localStorage.getItem("token") }
152 }) 153 })