Skip to content

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

chore: hide statement editor for baseline issue (#4027)

boojackf77729daa8ac
diff --git a/frontend/src/components/Issue/IssueDetailLayout.vue b/frontend/src/components/Issue/IssueDetailLayout.vue
index 75fecb423d..e1925798a2 100644
--- a/frontend/src/components/Issue/IssueDetailLayout.vue
+++ b/frontend/src/components/Issue/IssueDetailLayout.vue
@@ -263,6 +263,9 @@ const showIssueOutputPanel = computed(() => {
const showIssueTaskStatementPanel = computed(() => {
const task = selectedTask.value;
+ if (task.type === "bb.task.database.schema.baseline" && !create.value) {
+ return false;
+ }
return TaskTypeWithStatement.includes(task.type);
});