Skip to content

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

chore: set rebase target automatically (#10092)

h3n4l90aaed8448dd
diff --git a/frontend/src/components/Branch/BranchRebaseView/BranchRebaseView.vue b/frontend/src/components/Branch/BranchRebaseView/BranchRebaseView.vue
index 2e3485fb19..932bdcce6a 100644
--- a/frontend/src/components/Branch/BranchRebaseView/BranchRebaseView.vue
+++ b/frontend/src/components/Branch/BranchRebaseView/BranchRebaseView.vue
@@ -281,12 +281,14 @@ watch(
head.baselineDatabase
);
state.sourceDatabaseUID = db.uid;
+ state.sourceType = "DATABASE";
}
// Automatically select the branch's parent as rebase source branch
// if rebase source is empty
if (head.parentBranch && !state.sourceBranchName) {
state.sourceBranchName = head.parentBranch;
+ state.sourceType = "BRANCH";
}
}
},