[Glitch] Change mute, block and domain block confirmations in web UI

Port ec19d0a14b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko
2024-03-15 18:36:41 +01:00
committed by Claire
parent 3beba00c4e
commit 80fda17868
16 changed files with 581 additions and 317 deletions

View File

@@ -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 = () => {