Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: disable create issue button when sql check running (#10217)

Liu Jia67e7986ddfb
diff --git a/frontend/src/components/IssueV1/components/HeaderSection/Actions/create/CreateButton.vue b/frontend/src/components/IssueV1/components/HeaderSection/Actions/create/CreateButton.vue
index 4325117636..1eca01acba 100644
--- a/frontend/src/components/IssueV1/components/HeaderSection/Actions/create/CreateButton.vue
+++ b/frontend/src/components/IssueV1/components/HeaderSection/Actions/create/CreateButton.vue
@@ -78,13 +78,13 @@ const issueCreateErrorList = computed(() => {
});
const doCreateIssue = async () => {
+ loading.value = true;
const check = runSQLCheck.value;
if (check && !(await check())) {
+ loading.value = false;
return;
}
- loading.value = true;
-
try {
await createSheets();
const createdPlan = await createPlan();