Browse Source

[Glitch] Fix missing delete and redraft link in web UI

Port 371d969403 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
closed-social-glitch-2
Eugen Rochko 2 years ago
committed by Claire
parent
commit
5dfb7ba35c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/javascript/flavours/glitch/features/status/components/action_bar.js

+ 1
- 0
app/javascript/flavours/glitch/features/status/components/action_bar.js View File

@ -177,6 +177,7 @@ class ActionBar extends React.PureComponent {
menu.push(null);
menu.push({ text: intl.formatMessage(messages.edit), action: this.handleEditClick });
menu.push({ text: intl.formatMessage(messages.delete), action: this.handleDeleteClick });
menu.push({ text: intl.formatMessage(messages.redraft), action: this.handleRedraftClick });
} else {
menu.push({ text: intl.formatMessage(messages.mention, { name: status.getIn(['account', 'username']) }), action: this.handleMentionClick });
menu.push({ text: intl.formatMessage(messages.direct, { name: status.getIn(['account', 'username']) }), action: this.handleDirectClick });

Loading…
Cancel
Save