show channel analytics only if authed #7378

Merged
jessopb merged 1 commit from ux-showAnalyticsOnlyIfAuth into master 2021-12-30 21:54:00 +01:00
Showing only changes of commit ab8cb714d7 - Show all commits

View file

@ -326,7 +326,7 @@ const Header = (props: Props) => {
<Icon aria-hidden icon={ICONS.CHANNEL} />
{__('Channels')}
</MenuItem>
{hasChannels && (
{hasChannels && authenticated && (
<MenuItem className="menu__link" onSelect={() => history.push(`/$/${PAGES.CREATOR_DASHBOARD}`)}>
<Icon aria-hidden icon={ICONS.ANALYTICS} />
{__('Creator Analytics')}