Redirect to home after importing

This commit is contained in:
Alf Sebastian Houge
2022-04-06 12:16:14 +02:00
parent dc33aaad49
commit 9ef929dbd5
2 changed files with 2 additions and 0 deletions

View File

@@ -82,6 +82,7 @@ export default {
})
.finally(() => {
this.tryingToCreate = false
setTimeout(() => this.$router.push({ name: 'home' }), 1000)
})
},
},

View File

@@ -72,6 +72,7 @@ export default {
})
.finally(() => {
this.tryingToCreate = false
setTimeout(() => this.$router.push({ name: 'home' }), 1000)
})
},
},