没有hot_score/为0的时候不展示
This commit is contained in:
@@ -332,7 +332,9 @@ class FlowItem extends PureComponent {
|
||||
}
|
||||
<Time stamp={info.timestamp} short={!img_clickable} />
|
||||
</div>
|
||||
<span className="box-header">hot score: {info.hot_score}</span>
|
||||
{!!hot_score && (
|
||||
<span className="box-header">hot score: {info.hot_score}</span>
|
||||
)}
|
||||
<div className="box-content">
|
||||
<HighlightedMarkdown
|
||||
text={info.text}
|
||||
|
||||
Reference in New Issue
Block a user