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 ? (
|
||||
<>
|
||||
<UriIndicator uri={uri} link />
|
||||
<UriIndicator uri={uri} link showAtSign />
|
||||
<span>{fullUri.length > uri.length ? fullUri.substring(uri.length, fullUri.length) : ''}</span>
|
||||
</>
|
||||
) : allowPreview ? (
|
||||
|
|
|
@ -277,6 +277,7 @@ function CommentView(props: Props) {
|
|||
})}
|
||||
link
|
||||
uri={authorUri}
|
||||
showAtSign
|
||||
/>
|
||||
)}
|
||||
<Button
|
||||
|
|
|
@ -22,7 +22,7 @@ export const StickerReviewBox = (props: Props) => {
|
|||
<div className="commentCreate__stickerPreview">
|
||||
<div className="commentCreate__stickerPreviewInfo">
|
||||
<ChannelThumbnail xsmall uri={activeChannelUrl} />
|
||||
<UriIndicator uri={activeChannelUrl} link />
|
||||
<UriIndicator uri={activeChannelUrl} link showAtSign />
|
||||
</div>
|
||||
|
||||
<div className="commentCreate__stickerPreviewImage">
|
||||
|
|
|
@ -38,7 +38,7 @@ export const TipReviewBox = (props: Props) => {
|
|||
<ChannelThumbnail xsmall uri={activeChannelUrl} />
|
||||
|
||||
<div className="commentCreate__supportCommentBody">
|
||||
<UriIndicator uri={activeChannelUrl} link />
|
||||
<UriIndicator uri={activeChannelUrl} link showAtSign />
|
||||
<div>{message}</div>
|
||||
</div>
|
||||
</>
|
||||
|
|
|
@ -60,7 +60,7 @@ export default function LivestreamSuperchats(props: Props) {
|
|||
})}
|
||||
>
|
||||
<div className="livestreamSuperchat__info--user">
|
||||
<UriIndicator uri={channel_url} link />
|
||||
<UriIndicator uri={channel_url} link showAtSign />
|
||||
|
||||
<CreditAmount
|
||||
hideTitle
|
||||
|
|
|
@ -11,7 +11,7 @@ const select = (state, props) => {
|
|||
|
||||
return {
|
||||
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>}
|
||||
{isTip && signingChannel && !isLbryViewReward && (
|
||||
<div className="table__item-label">
|
||||
<UriIndicator uri={signingChannel && signingChannel.permanent_url} link />
|
||||
<UriIndicator uri={signingChannel && signingChannel.permanent_url} link showAtSign />
|
||||
</div>
|
||||
)}
|
||||
{isTip && !signingChannel && !isLbryViewReward && <div className="table__item-label">Anonymous</div>}
|
||||
|
|
Loading…
Reference in a new issue