restore single channel content tab

This commit is contained in:
zeppi 2021-07-01 12:38:13 -04:00 committed by jessopb
parent ad202d6471
commit e9868e37a1

View file

@ -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>