diff options
author | ThibG <thib@sitedethib.com> | 2020-02-09 12:56:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-09 12:56:12 +0100 |
commit | d3aaa08730901e7c97c6aeb1ebf56f2a027c78a2 (patch) | |
tree | 9fcb99dab28b01e0f85fbe7f27f406f92a031903 /app/javascript/flavours/glitch/components | |
parent | a2cfe3daaadabfaad71969a44c460bd76b8405ff (diff) | |
parent | 432033743c409356bd11e0d7d96f14a3cc82fb77 (diff) |
Merge pull request #1280 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/javascript/flavours/glitch/components')
-rw-r--r-- | app/javascript/flavours/glitch/components/status_action_bar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/status_action_bar.js b/app/javascript/flavours/glitch/components/status_action_bar.js index 60b370622..0a481c816 100644 --- a/app/javascript/flavours/glitch/components/status_action_bar.js +++ b/app/javascript/flavours/glitch/components/status_action_bar.js @@ -265,7 +265,7 @@ class StatusActionBar extends ImmutablePureComponent { replyTitle = intl.formatMessage(messages.replyAll); } - const shareButton = ('share' in navigator) && status.get('visibility') === 'public' && ( + const shareButton = ('share' in navigator) && publicStatus && ( <IconButton className='status__action-bar-button' title={intl.formatMessage(messages.share)} icon='share-alt' onClick={this.handleShareClick} /> ); |