Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
mastodon
Commits
371d9694
Unverified
Commit
371d9694
authored
2 years ago
by
Eugen Rochko
Committed by
GitHub
2 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Fix missing delete and redraft link in web UI (#19485)
parent
c7bab331
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/javascript/mastodon/features/status/components/action_bar.js
+1
-0
...ascript/mastodon/features/status/components/action_bar.js
with
1 addition
and
0 deletions
+1
-0
app/javascript/mastodon/features/status/components/action_bar.js
+
1
-
0
View file @
371d9694
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets