Skip to content

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

chore: fix database id checks (#10612)

boojackfbe65de77e93
diff --git a/frontend/src/views/sql-editor/EditorCommon/ResultView/RequestQueryButton.vue b/frontend/src/views/sql-editor/EditorCommon/ResultView/RequestQueryButton.vue
index c8ef064913..562e4f80df 100644
--- a/frontend/src/views/sql-editor/EditorCommon/ResultView/RequestQueryButton.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/ResultView/RequestQueryButton.vue
@@ -34,7 +34,7 @@ const database = computed(() => {
});
const available = computed(() => {
- if (database.value.uid !== String(UNKNOWN_ID)) {
+ if (database.value.uid === String(UNKNOWN_ID)) {
return false;
}