Adds follow action timestamp to notification (#8756)

Fixes #8755
This commit is contained in:
Colin Dean 2018-09-27 11:11:06 -04:00 committed by Eugen Rochko
parent 8bae14591b
commit 330e320b40

View File

@ -85,8 +85,9 @@ class Notification extends ImmutablePureComponent {
<div className='notification__favourite-icon-wrapper'>
<i className='fas fa-fw fa-user-plus' />
</div>
<FormattedMessage id='notification.follow' defaultMessage='{name} followed you' values={{ name: link }} />
<span title={notification.get('created_at')}>
<FormattedMessage id='notification.follow' defaultMessage='{name} followed you' values={{ name: link }} />
</span>
</div>
<AccountContainer id={account.get('id')} withNote={false} hidden={this.props.hidden} />