diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-07-14 21:39:07 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-07-15 00:48:28 +0200 |
commit | 707b8d7d75d8f44b4a638752b6a24824c0ba4bbd (patch) | |
tree | b142a83721216419eca4b43f00b5da2ce3d982a3 /app/javascript/flavours/glitch/components | |
parent | 85f3bc1ab39bb4244e910de24eac8415c0d66207 (diff) |
Move the “Show why” button inline
Diffstat (limited to 'app/javascript/flavours/glitch/components')
-rw-r--r-- | app/javascript/flavours/glitch/components/status.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/status.js b/app/javascript/flavours/glitch/components/status.js index 4cd6b3a36..e94ce6dfe 100644 --- a/app/javascript/flavours/glitch/components/status.js +++ b/app/javascript/flavours/glitch/components/status.js @@ -506,9 +506,10 @@ class Status extends ImmutablePureComponent { <HotKeys handlers={minHandlers}> <div className='status__wrapper status__wrapper--filtered focusable' tabIndex='0' ref={this.handleRef}> <FormattedMessage id='status.filtered' defaultMessage='Filtered' /> + {settings.get('filtering_behavior') !== 'upstream' && ' '} {settings.get('filtering_behavior') !== 'upstream' && ( <button className='status__wrapper--filtered__button' onClick={this.handleUnfilterClick}> - <FormattedMessage id='status.show_filter_reason' defaultMessage='Show why' /> + <FormattedMessage id='status.show_filter_reason' defaultMessage='(show why)' /> </button> )} </div> |