Change mute, block and domain block confirmations in web UI (#29576)
This commit is contained in:
1 parent
be7a68b095
commit
ec19d0a14b
27 files changed
+620
-349
No files matched your search
@@ -72,11 +72,7 @@ class Header extends ImmutablePureComponent {
|
||||
};
|
||||
|
||||
handleBlockDomain = () => {
|
||||
const domain = this.props.account.get('acct').split('@')[1];
|
||||
|
||||
if (!domain) return;
|
||||
|
||||
this.props.onBlockDomain(domain);
|
||||
this.props.onBlockDomain(this.props.account);
|
||||
};
|
||||
|
||||
handleUnblockDomain = () => {
|
||||
|
||||
Reference in new issue
Block a user