Skip to content

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

chore: fix (#10823)

Liu Jiad320c02f0c5
diff --git a/frontend/src/components/Branch/BranchRolloutView/BranchRolloutView.vue b/frontend/src/components/Branch/BranchRolloutView/BranchRolloutView.vue
index e0171f6f90..e4a9619552 100644
--- a/frontend/src/components/Branch/BranchRolloutView/BranchRolloutView.vue
+++ b/frontend/src/components/Branch/BranchRolloutView/BranchRolloutView.vue
@@ -126,6 +126,7 @@ import { NButton, useDialog } from "naive-ui";
import { computed, reactive, ref, toRef, watch } from "vue";
import { useI18n } from "vue-i18n";
import { useRouter } from "vue-router";
+import { MonacoEditor } from "@/components/MonacoEditor";
import SchemaEditorLite, {
RolloutObject,
generateDiffDDL,
@@ -173,7 +174,6 @@ const rawSQLPreviewState = reactive({
});
const rawSQLPreviewPlaceholder = computed(() => {
if (rawSQLPreviewState.isFetching) return undefined;
- if (rawSQLPreviewPlaceholder.value) return undefined;
return t("schema-editor.generated-ddl-is-empty");
});
diff --git a/frontend/src/components/Branch/SchemaDesignEditorLite.vue b/frontend/src/components/Branch/SchemaDesignEditorLite.vue
index 2f90b798b5..bfc6660bff 100644
--- a/frontend/src/components/Branch/SchemaDesignEditorLite.vue
+++ b/frontend/src/components/Branch/SchemaDesignEditorLite.vue
@@ -105,7 +105,6 @@ const rawSQLPreviewState = reactive({
});
const rawSQLPreviewPlaceholder = computed(() => {
if (rawSQLPreviewState.isFetching) return undefined;
- if (rawSQLPreviewPlaceholder.value) return undefined;
return t("schema-editor.generated-ddl-is-empty");
});
const database = computed(() => {