mirror of https://gitee.com/answerdev/answer.git
fix: #980
This commit is contained in:
parent
1a5be1c5db
commit
d22c427483
|
@ -153,12 +153,17 @@ const QuestionList: FC<Props> = ({ source }) => {
|
||||||
<Icon name="hand-thumbs-up-fill" />
|
<Icon name="hand-thumbs-up-fill" />
|
||||||
<em className="fst-normal mx-1">{li.vote_count}</em>
|
<em className="fst-normal mx-1">{li.vote_count}</em>
|
||||||
</span>
|
</span>
|
||||||
<span className="ms-3">
|
<span
|
||||||
{li.accepted_answer_id >= 1 ? (
|
className={`ms-3 ${
|
||||||
<Icon name="check-circle-fill" className="text-success" />
|
li.accepted_answer_id >= 1 ? 'text-success' : ''
|
||||||
) : (
|
}`}>
|
||||||
<Icon name="chat-square-text-fill" />
|
<Icon
|
||||||
)}
|
name={
|
||||||
|
li.accepted_answer_id >= 1
|
||||||
|
? 'check-circle-fill'
|
||||||
|
: 'chat-square-text-fill'
|
||||||
|
}
|
||||||
|
/>
|
||||||
<em className="fst-normal mx-1">{li.answer_count}</em>
|
<em className="fst-normal mx-1">{li.answer_count}</em>
|
||||||
</span>
|
</span>
|
||||||
<span className="summary-stat ms-3">
|
<span className="summary-stat ms-3">
|
||||||
|
|
Loading…
Reference in New Issue