about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/blocks/index.js
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-05-09 23:20:19 +0200
committerGitHub <noreply@github.com>2022-05-09 23:20:19 +0200
commit662ed53c18b39bb0c89cf18ede3436af15ee3447 (patch)
treeea36831d6e26ee5a59a3b4164c481b173e7786d7 /app/javascript/mastodon/features/blocks/index.js
parentf714e24ff104c3525a9a31be442364d2be1273fd (diff)
Fix block/mute lists showing a follow button when unblocking a user (#18364)
Fixes #601
Diffstat (limited to 'app/javascript/mastodon/features/blocks/index.js')
-rw-r--r--app/javascript/mastodon/features/blocks/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/blocks/index.js b/app/javascript/mastodon/features/blocks/index.js
index 7ec177434..e00f2b60e 100644
--- a/app/javascript/mastodon/features/blocks/index.js
+++ b/app/javascript/mastodon/features/blocks/index.js
@@ -69,7 +69,7 @@ class Blocks extends ImmutablePureComponent {
           bindToDocument={!multiColumn}
         >
           {accountIds.map(id =>
-            <AccountContainer key={id} id={id} />,
+            <AccountContainer key={id} id={id} defaultAction='block' />,
           )}
         </ScrollableList>
       </Column>