Skip to content
Snippets Groups Projects
Commit 01f21f71 authored by Sébastien DA ROCHA's avatar Sébastien DA ROCHA :bicyclist:
Browse files

Merge branch 'ticket/11766' into 'develop'

fix handle error title doble project

See merge request !42
parents 51f9ce54 304b8b96
No related branches found
No related tags found
1 merge request!42fix handle error title doble project
......@@ -375,6 +375,10 @@ export default {
}
})
.catch((error) => {
let err_msg = "Veuillez modifier le titre de votre projet, un projet avec ce titre existe déjà."
if (error.response.data.title[0])
err_msg = error.response.data.title[0]
this.errors.title.push(err_msg);
throw error;
});
} else if (this.action === "edit") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment