fix: await namespace creation

This commit is contained in:
Dominik Pschenitschni 2021-10-16 17:20:14 +02:00
parent 1d43d1bd65
commit 54d456e886
No known key found for this signature in database
GPG key ID: B257AC0149F43A77

View file

@ -70,7 +70,7 @@ export default {
} }
this.showError = false this.showError = false
const namespace = this.namespaceService.create(this.namespace) const namespace = await this.namespaceService.create(this.namespace)
this.$store.commit('namespaces/addNamespace', namespace) this.$store.commit('namespaces/addNamespace', namespace)
this.$message.success({message: this.$t('namespace.create.success') }) this.$message.success({message: this.$t('namespace.create.success') })
this.$router.back() this.$router.back()