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

Merge branch 'ticket/11706' into 'develop'

fix redirect after post Project

See merge request !11
parents f1f42b31 685ec646
No related branches found
No related tags found
1 merge request!11fix redirect after post Project
......@@ -306,10 +306,11 @@ export default {
.then((response) => {
if (response && response.status === 201 && response.data) {
//* send thumbnail after feature_type was created
if (this.fileToImport)
if (this.fileToImport.size > 0){
this.postProjectThumbnail(response.data.slug);
} else {
this.goBackNrefresh(response.data.slug);
}else {
this.goBackNrefresh(response.data.slug);
}
}
})
.catch((error) => {
......
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