Skip to content

Commit

Permalink
Chore: Disable menu items for editing statuses in web UI
Browse files Browse the repository at this point in the history
Feature must be unlocked in a separate release for max. compatibility
  • Loading branch information
Gargron committed Feb 10, 2022
1 parent da91b18 commit c9edacf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/javascript/mastodon/components/status_action_bar.js
Expand Up @@ -260,7 +260,7 @@ class StatusActionBar extends ImmutablePureComponent {
}

if (writtenByMe) {
menu.push({ text: intl.formatMessage(messages.edit), action: this.handleEditClick });
// 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 {
Expand Down
Expand Up @@ -215,7 +215,7 @@ class ActionBar extends React.PureComponent {

menu.push({ text: intl.formatMessage(mutingConversation ? messages.unmuteConversation : messages.muteConversation), action: this.handleConversationMuteClick });
menu.push(null);
menu.push({ text: intl.formatMessage(messages.edit), action: this.handleEditClick });
// 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 {
Expand Down

0 comments on commit c9edacf

Please sign in to comment.