[bug] custom flags don't show up when regular not present

This commit is contained in:
Andrea Vos 2021-04-06 20:22:38 +02:00
parent fcf8c8db4e
commit 82fbf0b780

View File

@ -41,7 +41,7 @@
</p>
</section>
<section v-if="profile.flags.length">
<section v-if="profile.flags.length || profile.customFlags.length">
<ul class="list-inline">
<li v-for="flag in profile.flags" v-if="allFlags[flag]" class="list-inline-item pr-2">
<Flag :name="flag.startsWith('-') ? allFlags[flag] : $translateForPronoun(allFlags[flag], mainPronoun)"