Skip to content

Commit

Permalink
show channel analytics only if authed (#7378)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessopb authored Dec 30, 2021
1 parent dfdd3fc commit b2e2e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/component/header/view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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')}
Expand Down

0 comments on commit b2e2e84

Please sign in to comment.