show channel analytics only if authed #7378
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ const Header = (props: Props) => {
|
||||||
<Icon aria-hidden icon={ICONS.CHANNEL} />
|
<Icon aria-hidden icon={ICONS.CHANNEL} />
|
||||||
{__('Channels')}
|
{__('Channels')}
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
{hasChannels && (
|
{hasChannels && authenticated && (
|
||||||
<MenuItem className="menu__link" onSelect={() => history.push(`/$/${PAGES.CREATOR_DASHBOARD}`)}>
|
<MenuItem className="menu__link" onSelect={() => history.push(`/$/${PAGES.CREATOR_DASHBOARD}`)}>
|
||||||
<Icon aria-hidden icon={ICONS.ANALYTICS} />
|
<Icon aria-hidden icon={ICONS.ANALYTICS} />
|
||||||
{__('Creator Analytics')}
|
{__('Creator Analytics')}
|
||||||
|
|
Loading…
Reference in a new issue