mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-28 16:01:26 +00:00
add tags to channel page
This commit is contained in:
parent
8bb7c5b5ea
commit
1df6e11a73
1 changed files with 8 additions and 1 deletions
|
@ -1,8 +1,10 @@
|
||||||
// @flow
|
// @flow
|
||||||
import React, { Fragment } from 'react';
|
import React, { Fragment } from 'react';
|
||||||
import MarkdownPreview from 'component/common/markdown-preview';
|
import MarkdownPreview from 'component/common/markdown-preview';
|
||||||
|
import ClaimTags from 'component/claimTags';
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
|
uri: string,
|
||||||
description: ?string,
|
description: ?string,
|
||||||
email: ?string,
|
email: ?string,
|
||||||
website: ?string,
|
website: ?string,
|
||||||
|
@ -18,7 +20,7 @@ const formatEmail = (email: string) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
function ChannelContent(props: Props) {
|
function ChannelContent(props: Props) {
|
||||||
const { description, email, website } = props;
|
const { uri, description, email, website } = props;
|
||||||
const showAbout = description || email || website;
|
const showAbout = description || email || website;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -47,6 +49,11 @@ function ChannelContent(props: Props) {
|
||||||
</div>
|
</div>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
<label>{__('Tags')}</label>
|
||||||
|
<div className="media__info-text">
|
||||||
|
<ClaimTags uri={uri} type="large" />
|
||||||
|
</div>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
)}
|
)}
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Add table
Reference in a new issue