1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-30 07:49:04 +09:00

Merge pull request #277 from glitch-soc/273-add-data-status-by-to-detailed-status

Add data-status-by back to DetailedStatus component.  Fixes #273.
This commit is contained in:
beatrix 2017-12-21 16:10:36 -05:00 committed by GitHub
commit a3cb5a6b64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
}
return (
<div className='detailed-status'>
<div className='detailed-status' data-status-by={status.getIn(['account', 'acct'])}>
<a href={status.getIn(['account', 'url'])} onClick={this.handleAccountClick} className='detailed-status__display-name'>
<div className='detailed-status__display-avatar'><Avatar account={status.get('account')} size={48} /></div>
<DisplayName account={status.get('account')} />