restore single channel content tab
This commit is contained in:
parent
ad202d6471
commit
e9868e37a1
1 changed files with 1 additions and 22 deletions
|
@ -284,40 +284,19 @@ function ChannelPage(props: Props) {
|
||||||
) : (
|
) : (
|
||||||
<Tabs onChange={onTabChange} index={tabIndex}>
|
<Tabs onChange={onTabChange} index={tabIndex}>
|
||||||
<TabList className="tabs__list--channel-page">
|
<TabList className="tabs__list--channel-page">
|
||||||
<Tab disabled={editing}>{__('Publishes')}</Tab>
|
<Tab disabled={editing}>{__('Content')}</Tab>
|
||||||
<Tab disabled={editing}>{__('Playlists')}</Tab>
|
|
||||||
<Tab disabled={editing}>{__('Reposts')}</Tab>
|
|
||||||
<Tab>{editing ? __('Editing Your Channel') : __('About --[tab title in Channel Page]--')}</Tab>
|
<Tab>{editing ? __('Editing Your Channel') : __('About --[tab title in Channel Page]--')}</Tab>
|
||||||
<Tab disabled={editing}>{__('Community')}</Tab>
|
<Tab disabled={editing}>{__('Community')}</Tab>
|
||||||
</TabList>
|
</TabList>
|
||||||
<TabPanels>
|
<TabPanels>
|
||||||
<TabPanel>
|
<TabPanel>
|
||||||
<ChannelContent
|
<ChannelContent
|
||||||
claimType={'stream'}
|
|
||||||
uri={uri}
|
uri={uri}
|
||||||
channelIsBlackListed={channelIsBlackListed}
|
channelIsBlackListed={channelIsBlackListed}
|
||||||
viewHiddenChannels
|
viewHiddenChannels
|
||||||
empty={<section className="main--empty">{__('No Content Found')}</section>}
|
empty={<section className="main--empty">{__('No Content Found')}</section>}
|
||||||
/>
|
/>
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
<TabPanel>
|
|
||||||
<ChannelContent
|
|
||||||
claimType={'collection'}
|
|
||||||
uri={uri}
|
|
||||||
channelIsBlackListed={channelIsBlackListed}
|
|
||||||
viewHiddenChannels
|
|
||||||
empty={collectionEmpty}
|
|
||||||
/>
|
|
||||||
</TabPanel>
|
|
||||||
<TabPanel>
|
|
||||||
<ChannelContent
|
|
||||||
claimType={'repost'}
|
|
||||||
uri={uri}
|
|
||||||
channelIsBlackListed={channelIsBlackListed}
|
|
||||||
viewHiddenChannels
|
|
||||||
empty={<section className="main--empty">{__('No Reposts Found')}</section>}
|
|
||||||
/>
|
|
||||||
</TabPanel>
|
|
||||||
<TabPanel>
|
<TabPanel>
|
||||||
<ChannelAbout uri={uri} />
|
<ChannelAbout uri={uri} />
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
|
|
Loading…
Reference in a new issue