From 6a026670952a7f10bf4b11572522783fd372c0d2 Mon Sep 17 00:00:00 2001 From: Baltazar Gomez Date: Mon, 14 Oct 2019 17:05:19 -0600 Subject: [PATCH] add missing tooltip for channel links --- src/ui/component/claimLink/view.jsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ui/component/claimLink/view.jsx b/src/ui/component/claimLink/view.jsx index 9ff320283..4eb21ab98 100644 --- a/src/ui/component/claimLink/view.jsx +++ b/src/ui/component/claimLink/view.jsx @@ -2,6 +2,7 @@ import * as React from 'react'; import Button from 'component/button'; import PreviewLink from 'component/previewLink'; +import UriIndicator from 'component/uriIndicator'; type Props = { uri: string, @@ -70,9 +71,14 @@ class ClaimLink extends React.Component { return {children}; } - const { name: claimName } = claim; + const { name: claimName, value_type: valueType } = claim; + const isChannel = valueType === 'channel'; const showPreview = autoEmbed === true && !isUnresolved; + if(isChannel){ + return + } + return (