Show unblock button on own blocked channels
This commit is contained in:
parent
bcb65cd9fa
commit
ba786fa50e
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ export default function BlockButton(props: Props) {
|
||||||
const blockTitlePrefix = channelIsBlocked ? __('Unblock this channel') : __('Block this channel');
|
const blockTitlePrefix = channelIsBlocked ? __('Unblock this channel') : __('Block this channel');
|
||||||
const blockedOverride = channelIsBlocked && isHovering && __('Unblock');
|
const blockedOverride = channelIsBlocked && isHovering && __('Unblock');
|
||||||
|
|
||||||
return permanentUrl && !claimIsMine ? (
|
return permanentUrl && (!claimIsMine || channelIsBlocked) ? (
|
||||||
<Button
|
<Button
|
||||||
ref={blockRef}
|
ref={blockRef}
|
||||||
icon={ICONS.BLOCK}
|
icon={ICONS.BLOCK}
|
||||||
|
|
Loading…
Add table
Reference in a new issue