Fix missing delete and redraft link in web UI (#19485)

th-downstream
Eugen Rochko 2 years ago committed by GitHub
parent a81c071a45
commit 4b0d58f0ad

@ -220,6 +220,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(null);

Loading…
Cancel
Save