fix: make the merge box button red if some checks fail (#38508) (#38516)

Backport #38508

fix #38506

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Giteabot
2026-07-18 04:10:50 -07:00
committed by GitHub
parent cfc9f4c685
commit 6d41731184
@@ -39,6 +39,7 @@ const mergeButtonStyleClass = computed(() => {
const mergeSelectStyleClass = computed(() => {
if (mergeForm.emptyCommit) return '';
if (mergeStyle.value === mergeStyleManuallyMerged) return 'red';
if (!mergeForm.allOverridableChecksOk) return 'red';
return 'primary';
});