From ba786fa50e5abdc8617b0d7e2638a2c79d4590a2 Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Thu, 15 Oct 2020 17:49:05 -0400 Subject: [PATCH] Show unblock button on own blocked channels --- ui/component/blockButton/view.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/component/blockButton/view.jsx b/ui/component/blockButton/view.jsx index d4716d0ab..a749f0cfa 100644 --- a/ui/component/blockButton/view.jsx +++ b/ui/component/blockButton/view.jsx @@ -24,7 +24,7 @@ export default function BlockButton(props: Props) { const blockTitlePrefix = channelIsBlocked ? __('Unblock this channel') : __('Block this channel'); const blockedOverride = channelIsBlocked && isHovering && __('Unblock'); - return permanentUrl && !claimIsMine ? ( + return permanentUrl && (!claimIsMine || channelIsBlocked) ? (