feat(ui): project create error

This commit is contained in:
Guillaume Chau
2018-05-19 04:15:32 +02:00
parent d64c1a005f
commit 2f94a85fe8
2 changed files with 4 additions and 2 deletions

View File

@@ -106,6 +106,10 @@ export default {
.info
color $color-text-light
.debug
color $vue-ui-color-warning
font-size 10px
.vue-ui-loading-bar
width 50vw
max-width 400px

View File

@@ -520,11 +520,9 @@ export default {
}
}
})
this.debug = 'MUTATION DONE'
this.reset()
this.$router.push({ name: 'project-home' })
await this.$nextTick()
this.debug = `ROUTER PUSH: ${this.$route.name}`
} catch (e) {
// eslint-disable-next-line no-console
console.error(e)