Show own channels on blocked list

This commit is contained in:
Thomas Zarebczan 2020-10-15 19:10:58 -04:00 committed by GitHub
parent cc94c4e01e
commit f5900795c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -298,7 +298,7 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
{isChannel && !channelIsBlocked && !claimIsMine && (
<SubscribeButton uri={uri.startsWith('lbry://') ? uri : `lbry://${uri}`} />
)}
{!hideBlock && isChannel && !isSubscribed && !claimIsMine && (
{!hideBlock && isChannel && !isSubscribed && (!claimIsMine || channelIsBlocked) && (
<BlockButton uri={uri.startsWith('lbry://') ? uri : `lbry://${uri}`} />
)}
{includeSupportAction && <ClaimSupportButton uri={uri} />}