Skip to content

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

Disable "Test Connection" button when host is empty

天舟48df2f327a4c
diff --git a/frontend/src/components/InstanceForm.vue b/frontend/src/components/InstanceForm.vue
index 1f8a557703..b555e46697 100644
--- a/frontend/src/components/InstanceForm.vue
+++ b/frontend/src/components/InstanceForm.vue
@@ -438,6 +438,7 @@ input[type="number"] {
@click.prevent="testConnection"
type="button"
class="btn-normal whitespace-nowrap items-center"
+ :disabled="!state.instance.host"
>
Test Connection
</button>