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 f42aa942b4
commit d93f6b4720

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')} />