Browse Source

没有hot_score/为0的时候不展示

pull/16/head
hole-thu 3 years ago
parent
commit
180b1e4796
  1. 4
      src/Flows.js

4
src/Flows.js

@ -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}

Loading…
Cancel
Save