Commit 62009f57 authored by mgabdev's avatar mgabdev

Updated GroupsPage to not show tabs if no user

• Updated:
- GroupsPage to not show tabs if no user
parent 88d3b328
......@@ -63,7 +63,7 @@ class GroupsPage extends PureComponent {
onClick: this.handleOnOpenGroupCreateModal,
},
]
const tabs = [
const tabs = !!me ? [
{
title: intl.formatMessage(messages.featured),
to: '/groups',
......@@ -76,7 +76,7 @@ class GroupsPage extends PureComponent {
title: intl.formatMessage(messages.myGroups),
to: '/groups/browse/member',
},
]
] : []
if (isPro) {
tabs.push({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment