diff --git a/src/views/feature/Feature_list.vue b/src/views/feature/Feature_list.vue index 8f31d20b9fa4f283e0d996a3d1ee7844b35bdfb0..bc344e616ace60039371adea7be87026a52ee7e4 100644 --- a/src/views/feature/Feature_list.vue +++ b/src/views/feature/Feature_list.vue @@ -607,7 +607,6 @@ export default { }, loadFeatures(features) { this.geojsonFeatures = features; - console.log(this.geojsonFeatures); const urlParams = new URLSearchParams(window.location.search); const featureType = urlParams.get("feature_type"); const featureStatus = urlParams.get("status"); @@ -694,9 +693,10 @@ export default { }); // --------- End sidebar events ---------- - console.log(this.$store.state.map.geojsonFeatures); - if(this.$store.state.map.geojsonFeatures){ - this.loadFeatures(this.$store.state.map.geojsonFeatures); + if(this.$route.params.slug != this.project.slug){ + if(this.$store.state.map.geojsonFeatures){ + this.loadFeatures(this.$store.state.map.geojsonFeatures); + } } else{ const url=`${this.$store.state.configuration.VUE_APP_DJANGO_API_BASE}projects/${this.$route.params.slug}/feature/?output=geojson`;