Add data-status-by back to DetailedStatus component. Fixes #273.

This commit is contained in:
David Yip 2017-12-21 13:22:33 -06:00
parent bc0152974f
commit 7bb99ca3cf
No known key found for this signature in database
GPG Key ID: 7DA0036508FCC0CC
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
} }
return ( 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'> <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> <div className='detailed-status__display-avatar'><Avatar account={status.get('account')} size={48} /></div>
<DisplayName account={status.get('account')} /> <DisplayName account={status.get('account')} />