From 54d456e886156631940d5e5ee21a7f029e356134 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Sat, 16 Oct 2021 17:20:14 +0200 Subject: [PATCH] fix: await namespace creation --- src/views/namespaces/NewNamespace.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/namespaces/NewNamespace.vue b/src/views/namespaces/NewNamespace.vue index 36b0bac2..2bc0cf03 100644 --- a/src/views/namespaces/NewNamespace.vue +++ b/src/views/namespaces/NewNamespace.vue @@ -70,7 +70,7 @@ export default { } 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.$message.success({message: this.$t('namespace.create.success') }) this.$router.back()