fix: auto repair bugs #49
This commit is contained in:
parent
ab3ae382e9
commit
3d60b07c0f
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user