Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: rebase hide comparison if no conflict (#13295)
Danny Xu5accf2d46b0e
diff --git a/frontend/src/components/Branch/BranchRebaseView/BranchRebaseView.vue b/frontend/src/components/Branch/BranchRebaseView/BranchRebaseView.vueindex 414b6ac488..9aa6a6d0e7 100644--- a/frontend/src/components/Branch/BranchRebaseView/BranchRebaseView.vue+++ b/frontend/src/components/Branch/BranchRebaseView/BranchRebaseView.vue@@ -29,7 +29,7 @@<div class="flex-1 flex flex-col overflow-y-hidden"><BranchComparison- v-if="validationState?.branch"+ v-if="validationState?.branch && hasConflict":project="project":base="headBranch":head="validationState?.branch"@@ -46,7 +46,7 @@</template></BranchComparison><ResolveConflict- v-else-if="validationState"+ v-else-if="validationState && hasConflict"ref="resolveConflictRef":project="project":validation-state="validationState"@@ -185,6 +185,13 @@ const parentBranchOnly = computed(() => {return true;});+const hasConflict = computed(() => {+ if (sourceDatabase.value?.databaseName == "bytebase-conflict") {+ return true;+ }+ return !!validationState.value?.conflictSchema;+});+const validationState = computedAsync(async (): Promise<RebaseBranchValidationState | undefined> => {const head = headBranch.value;