mirror of
https://github.com/go-gitea/gitea.git
synced 2026-07-25 17:58:42 +00:00
Backport #38508 fix #38506 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
@@ -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';
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user