mirror of https://github.com/tootsuite/mastodon
Fix broken “mute” button in mutes list (#31315)
parent
57a1f86626
commit
30430a62e2
|
@ -106,7 +106,7 @@ const Account = ({ size = 46, account, onFollow, onBlock, onMute, onMuteNotifica
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
} else if (defaultAction === 'mute') {
|
} else if (defaultAction === 'mute') {
|
||||||
buttons = <Button title={intl.formatMessage(messages.mute)} onClick={handleMute} />;
|
buttons = <Button text={intl.formatMessage(messages.mute)} onClick={handleMute} />;
|
||||||
} else if (defaultAction === 'block') {
|
} else if (defaultAction === 'block') {
|
||||||
buttons = <Button text={intl.formatMessage(messages.block)} onClick={handleBlock} />;
|
buttons = <Button text={intl.formatMessage(messages.block)} onClick={handleBlock} />;
|
||||||
} else if (!account.get('suspended') && !account.get('moved') || following) {
|
} else if (!account.get('suspended') && !account.get('moved') || following) {
|
||||||
|
|
Loading…
Reference in New Issue