diff --git a/src/views/feature/Feature_detail.vue b/src/views/feature/Feature_detail.vue index 6bb76f5b71a1701e79257ee2149ec3b328f5a537..62c585a0ecf9abd67bb2251ed13a33c881bd381c 100644 --- a/src/views/feature/Feature_detail.vue +++ b/src/views/feature/Feature_detail.vue @@ -567,7 +567,9 @@ export default { if (response.status === 204) { this.$store.dispatch( "feature/GET_PROJECT_FEATURES", - this.$route.params.slug + { + project_slug: this.$route.params.slug + } ); this.goBackToProject(); } diff --git a/src/views/feature/Feature_list.vue b/src/views/feature/Feature_list.vue index d3b0e0c39f31db659070b6a9464f475d430cef86..37a7eda3f61ef00a0f33bd9ca992e697ca116a44 100644 --- a/src/views/feature/Feature_list.vue +++ b/src/views/feature/Feature_list.vue @@ -322,7 +322,11 @@ export default { .then(() => { if (!this.modalAllDeleteOpen) { this.$store - .dispatch("feature/GET_PROJECT_FEATURES", this.project.slug) + .dispatch("feature/GET_PROJECT_FEATURES", + { + project_slug: this.project.slug + } + ) .then(() => { this.getNloadGeojsonFeatures(); this.checkedFeatures.splice(feature_id);