From f639bdf9e89abf1091a870c42796374a8d14f160 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Mon, 15 Feb 2021 14:39:34 +0900 Subject: [PATCH] Show progress circle on testing a config --- .../containers/settings/ConfigCreationForm.vue | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/frontend/components/containers/settings/ConfigCreationForm.vue b/frontend/components/containers/settings/ConfigCreationForm.vue index aad794a6..fe922138 100644 --- a/frontend/components/containers/settings/ConfigCreationForm.vue +++ b/frontend/components/containers/settings/ConfigCreationForm.vue @@ -26,6 +26,9 @@ + + +

Select a config template

@@ -114,7 +117,7 @@ { this.passTesting = value.valid }) + .finally(() => { + this.isLoading = false + }) }, saveConfig() { const projectId = this.$route.params.id const item = this.createConfig() + this.isLoading = true this.configService.save(projectId, item) .then(item => { this.$emit('onCreate') }) + .finally(() => { + this.isLoading = false + }) } } })