Claim title fixes
Also fixed bug on mentions
This commit is contained in:
parent
f88bfcd7f3
commit
cfea97dd96
7 changed files with 7 additions and 6 deletions
|
@ -75,7 +75,7 @@ class ClaimLink extends React.Component<Props> {
|
||||||
|
|
||||||
return isChannel ? (
|
return isChannel ? (
|
||||||
<>
|
<>
|
||||||
<UriIndicator uri={uri} link />
|
<UriIndicator uri={uri} link showAtSign />
|
||||||
<span>{fullUri.length > uri.length ? fullUri.substring(uri.length, fullUri.length) : ''}</span>
|
<span>{fullUri.length > uri.length ? fullUri.substring(uri.length, fullUri.length) : ''}</span>
|
||||||
</>
|
</>
|
||||||
) : allowPreview ? (
|
) : allowPreview ? (
|
||||||
|
|
|
@ -277,6 +277,7 @@ function CommentView(props: Props) {
|
||||||
})}
|
})}
|
||||||
link
|
link
|
||||||
uri={authorUri}
|
uri={authorUri}
|
||||||
|
showAtSign
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<Button
|
<Button
|
||||||
|
|
|
@ -22,7 +22,7 @@ export const StickerReviewBox = (props: Props) => {
|
||||||
<div className="commentCreate__stickerPreview">
|
<div className="commentCreate__stickerPreview">
|
||||||
<div className="commentCreate__stickerPreviewInfo">
|
<div className="commentCreate__stickerPreviewInfo">
|
||||||
<ChannelThumbnail xsmall uri={activeChannelUrl} />
|
<ChannelThumbnail xsmall uri={activeChannelUrl} />
|
||||||
<UriIndicator uri={activeChannelUrl} link />
|
<UriIndicator uri={activeChannelUrl} link showAtSign />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="commentCreate__stickerPreviewImage">
|
<div className="commentCreate__stickerPreviewImage">
|
||||||
|
|
|
@ -38,7 +38,7 @@ export const TipReviewBox = (props: Props) => {
|
||||||
<ChannelThumbnail xsmall uri={activeChannelUrl} />
|
<ChannelThumbnail xsmall uri={activeChannelUrl} />
|
||||||
|
|
||||||
<div className="commentCreate__supportCommentBody">
|
<div className="commentCreate__supportCommentBody">
|
||||||
<UriIndicator uri={activeChannelUrl} link />
|
<UriIndicator uri={activeChannelUrl} link showAtSign />
|
||||||
<div>{message}</div>
|
<div>{message}</div>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
|
|
|
@ -60,7 +60,7 @@ export default function LivestreamSuperchats(props: Props) {
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
<div className="livestreamSuperchat__info--user">
|
<div className="livestreamSuperchat__info--user">
|
||||||
<UriIndicator uri={channel_url} link />
|
<UriIndicator uri={channel_url} link showAtSign />
|
||||||
|
|
||||||
<CreditAmount
|
<CreditAmount
|
||||||
hideTitle
|
hideTitle
|
||||||
|
|
|
@ -11,7 +11,7 @@ const select = (state, props) => {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
claimLabel: claim && formatLbryChannelName(claim.canonical_url),
|
claimLabel: claim && formatLbryChannelName(claim.canonical_url),
|
||||||
claimTitle: claim && getClaimTitle(claim.canonical_url),
|
claimTitle: claim && getClaimTitle(claim),
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -147,7 +147,7 @@ class TransactionListTableItem extends React.PureComponent<Props, State> {
|
||||||
{isLbryViewReward && <div className="table__item-label">{__('%SITE_NAME% view reward', { SITE_NAME })}</div>}
|
{isLbryViewReward && <div className="table__item-label">{__('%SITE_NAME% view reward', { SITE_NAME })}</div>}
|
||||||
{isTip && signingChannel && !isLbryViewReward && (
|
{isTip && signingChannel && !isLbryViewReward && (
|
||||||
<div className="table__item-label">
|
<div className="table__item-label">
|
||||||
<UriIndicator uri={signingChannel && signingChannel.permanent_url} link />
|
<UriIndicator uri={signingChannel && signingChannel.permanent_url} link showAtSign />
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{isTip && !signingChannel && !isLbryViewReward && <div className="table__item-label">Anonymous</div>}
|
{isTip && !signingChannel && !isLbryViewReward && <div className="table__item-label">Anonymous</div>}
|
||||||
|
|
Loading…
Add table
Reference in a new issue