Skip to content
Snippets Groups Projects
Commit 27d5d029 authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

Fix blocking/unblocking users from status dropdown menu (#12535)

Fixes #12511
parent c7da6db2
No related branches found
No related tags found
No related merge requests found
......@@ -173,9 +173,9 @@ class StatusActionBar extends ImmutablePureComponent {
const account = status.get('account');
if (relationship && relationship.get('blocking')) {
onBlock(status);
} else {
onUnblock(account);
} else {
onBlock(status);
}
}
......
......@@ -120,9 +120,9 @@ class ActionBar extends React.PureComponent {
const account = status.get('account');
if (relationship && relationship.get('blocking')) {
onBlock(status);
} else {
onUnblock(account);
} else {
onBlock(status);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment