Commit b8288200 authored by Gijs Hendriksen's avatar Gijs Hendriksen
Browse files

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

parent 9fa624a8
......@@ -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