Merge pull request 'fix: auto repair bugs #49' (#1) from fix/auto-20260226-103348 into main
All checks were successful
Build and Deploy Log Center / build-and-deploy (push) Successful in 1m47s

Merge PR #1 (approved via Log Center)
This commit is contained in:
zyc 2026-02-26 10:35:59 +08:00
commit 18d18dbe14

View File

@ -284,12 +284,12 @@ export default function BugDetail() {
<span style={{ fontSize: '14px' }}> <span style={{ fontSize: '14px' }}>
PR #{bug.pr_number} | {bug.branch_name || 'fix branch'} PR #{bug.pr_number} | {bug.branch_name || 'fix branch'}
</span> </span>
<a href={bug.pr_url} target="_blank" rel="noopener noreferrer" className="btn-link" style={{ display: 'inline-flex', alignItems: 'center', gap: '4px' }}> <a href={bug.pr_url || undefined} target="_blank" rel="noopener noreferrer" className="btn-link" style={{ display: 'inline-flex', alignItems: 'center', gap: '4px' }}>
PR <ExternalLink size={12} /> PR <ExternalLink size={12} />
</a> </a>
{bug.rejection_count > 0 && ( {((bug.rejection_count ?? 0) > 0) && (
<span style={{ fontSize: '13px', color: 'var(--warning)' }}> <span style={{ fontSize: '13px', color: 'var(--warning)' }}>
{bug.rejection_count} {bug.rejection_count ?? 0}
</span> </span>
)} )}
</div> </div>