if (routeName==='editer-attribut-signalement')returnresponse;// exit function to avoid conflict with next feature call to GET_PROJECT_FEATURE when modifying more than 2 features
commit(
'DISPLAY_MESSAGE',
{
...
...
@@ -202,7 +203,6 @@ const feature = {
},
{root:true},
);
if (routeName.includes('editer-attribut-signalement'))return;// exit function to avoid conflict with next feature call to GET_PROJECT_FEATURE when modifying more than 2 features
dispatch(
'GET_PROJECT_FEATURE',
{
...
...
@@ -210,7 +210,7 @@ const feature = {
feature_id:featureId
})
.then(()=>{
if (routeName.includes('details-signalement'))return;
if (routeName==='details-signalement')returnresponse;