mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Fix issue #27658
This commit is contained in:
parent
3bf2a7296e
commit
c4aad7516e
1 changed files with 1 additions and 1 deletions
|
@ -686,7 +686,7 @@ class Status extends ImmutablePureComponent {
|
|||
<ColumnHeader
|
||||
showBackButton
|
||||
multiColumn={multiColumn}
|
||||
extraButton={(
|
||||
extraButton={status.get('spoiler_text').length > 0 && (
|
||||
<button type='button' className='column-header__button' title={intl.formatMessage(status.get('hidden') ? messages.revealAll : messages.hideAll)} aria-label={intl.formatMessage(status.get('hidden') ? messages.revealAll : messages.hideAll)} onClick={this.handleToggleAll}><Icon id={status.get('hidden') ? 'eye-slash' : 'eye'} icon={status.get('hidden') ? VisibilityOffIcon : VisibilityIcon} /></button>
|
||||
)}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue