Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
ThaliApp
Commits
b8288200
Commit
b8288200
authored
Jul 09, 2017
by
Gijs Hendriksen
Browse files
Profile no longer shows the 'Achievements' header when user has no achievements
parent
9fa624a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/components/Profile.js
View file @
b8288200
...
...
@@ -71,7 +71,7 @@ const getPersonalInfo = (profile) => {
};
const
getAchievements
=
(
profile
)
=>
{
if
(
profile
.
achievements
)
{
if
(
profile
.
achievements
.
length
)
{
return
[
<
Text
style
=
{
styles
.
sectionHeader
}
key
=
"
title
"
>
Verdiensten
voor
Thalia
<
/Text>
,
<
View
style
=
{
styles
.
card
}
key
=
"
content
"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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