Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gab-social
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
gab
social
gab-social
Commits
62009f57
Commit
62009f57
authored
Jul 24, 2020
by
mgabdev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated GroupsPage to not show tabs if no user
• Updated: - GroupsPage to not show tabs if no user
parent
88d3b328
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/javascript/gabsocial/pages/groups_page.js
app/javascript/gabsocial/pages/groups_page.js
+2
-2
No files found.
app/javascript/gabsocial/pages/groups_page.js
View file @
62009f57
...
...
@@ -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
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment