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.
rebase/4.0.0rc2
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
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')} />