diff --git a/src/components/Project/FeaturesListAndMap/FeatureListTable.vue b/src/components/Project/FeaturesListAndMap/FeatureListTable.vue index f4ac6e3d89de26d40df7eaa26561f536dd0f1cde..3cca42f769ff256b4d96bd2192d210c85559af74 100644 --- a/src/components/Project/FeaturesListAndMap/FeatureListTable.vue +++ b/src/components/Project/FeaturesListAndMap/FeatureListTable.vue @@ -563,7 +563,7 @@ export default { }, canDeleteFeature(feature) { - if (this.userStatus === 'Administrateur projet') { + if (this.userStatus === 'Administrateur projet' || this.user.is_superuser) { return true; //* can delete all } //* others can delete only their own features