Commit 21a1d292 authored by Wietse Kuipers's avatar Wietse Kuipers
Browse files

Merge branch 'fix/profile-no-achievements' into 'master'

Profile no longer shows the 'Achievements' header when user has no achievements

See merge request !54
parents 9fa624a8 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">
......
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