diff --git a/src/store/modules/feature.js b/src/store/modules/feature.js
index c13ad7328994aaed89d07aa3fa620212bcaa63e7..11a868140b1fa6bc398da81505f1c914588c0330 100644
--- a/src/store/modules/feature.js
+++ b/src/store/modules/feature.js
@@ -7,6 +7,7 @@ axios.defaults.headers.common['X-CSRFToken'] = (name => {
   return (value != null) ? unescape(value[1]) : null;
 })('csrftoken');
 
+const DJANGO_API_BASE = process.env.VUE_APP_DJANGO_API_BASE
 
 const feature = {
   namespaced: true,
@@ -66,7 +67,7 @@ const feature = {
   actions: {
     GET_PROJECT_FEATURES({ commit, /* dispatch */ }, project_slug) {
       axios
-        .get(`${this.state.configuration.VUE_APP_DJANGO_API_BASE}projects/${project_slug}/feature/`)
+        .get(`${DJANGO_API_BASE}projects/${project_slug}/feature/`)
         .then((response) => {
           if (response.status === 200 && response.data) {
             const features = response.data.features;
@@ -100,7 +101,7 @@ const feature = {
 
       if (routeName === "editer-signalement") {
         axios
-          .put(`${this.state.configuration.VUE_APP_DJANGO_API_BASE}features/${state.form.feature_id}/`, geojson)
+          .put(`${DJANGO_API_BASE}features/${state.form.feature_id}/`, geojson)
           .then((response) => {
             if (response.status === 200 && response.data) {
               router.push({
@@ -117,7 +118,7 @@ const feature = {
           });
       } else {
         axios
-          .post(`${this.state.configuration.VUE_APP_DJANGO_API_BASE}features/`, geojson)
+          .post(`${DJANGO_API_BASE}features/`, geojson)
           .then((response) => {
             if (response.status === 201 && response.data) {
               dispatch("SEND_ATTACHMENTS", response.data.id)
@@ -146,7 +147,7 @@ const feature = {
         }
         formdata.append("data", JSON.stringify(data));
         axios
-          .post(`${this.state.configuration.VUE_APP_DJANGO_API_BASE}features/${featureId}/attachments/`, formdata)
+          .post(`${DJANGO_API_BASE}features/${featureId}/attachments/`, formdata)
           .then((response) => {
             if (response.status === 200 && response.data) {
               console.log(response, response.data)
@@ -164,8 +165,17 @@ const feature = {
         .getlinked_features(featureId)
         .then((data) => commit("SET_FEATURE_LINKS", data));
     } */
-    //DELETE_FEATURE({ state }, feature_slug) {
-    //console.log("Deleting feature:", feature_slug, state)
+    DELETE_FEATURE({ state }, feature_id) {
+      console.log("Deleting feature:", feature_id, state)
+      const url=`${DJANGO_API_BASE}features/${feature_id}`;
+        axios
+          .delete(url, {
+          })
+          .then()
+          .catch(() => {
+            return false;
+          });
+    },
 
     // POST_COMMENT({ state }, data) {
     //console.log("post comment", data, state)
diff --git a/src/views/feature/Feature_detail.vue b/src/views/feature/Feature_detail.vue
index 8b2c516d33814f65220cc0b7a795a4c281fc5060..31bc3945892af40c1a70220c36f9fc8d453849cf 100644
--- a/src/views/feature/Feature_detail.vue
+++ b/src/views/feature/Feature_detail.vue
@@ -459,12 +459,27 @@ export default {
       this.comment_form.attachment_file.value = shortName;
       this.comment_form.title.value = shortName;
     },
+    goBackToProject(message) {
+      this.$router.push({
+        name: "project_detail",
+        params: {
+          slug: this.$store.state.project_slug,
+          message,
+        },
+      });
+    },
 
     deleteFeature() {
       this.$store.dispatch(
         "feature/DELETE_FEATURE",
-        this.$route.params.slug_signal
-      );
+        this.feature.feature_id
+      )
+      .then(() => {
+        this.$store.dispatch(
+          "feature/GET_PROJECT_FEATURES"
+        )
+        this.goBackToProject();
+      });
     },
 
     initMap() {