1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 08:53:14 +00:00

repair notificaiton time bug (#3216)

This commit is contained in:
杨顺强
2019-04-08 11:50:40 +08:00
committed by Daniel Pan
parent 23fd5b41b8
commit fed5fa703d

View File

@@ -213,7 +213,7 @@ class NoticeItem extends React.Component {
<img src={avatar_url} width="32" height="32" className="avatar" />
<p className="brief" dangerouslySetInnerHTML={{__html: notice}}></p>
</div>
<p className="time">{moment(noticeItem.timestamp).fromNow()}</p>
<p className="time">{moment(noticeItem.time).fromNow()}</p>
</div>
</li>
)