show badge visibility user setting checkbox only if needed

This commit is contained in:
taehoon 2019-11-15 12:52:29 -05:00
parent 10bb22b5cf
commit 44cd5ef814

View file

@ -104,7 +104,7 @@
{{ $t('settings.hide_followers_count_description') }} {{ $t('settings.hide_followers_count_description') }}
</Checkbox> </Checkbox>
</p> </p>
<p> <p v-if="role === 'admin' || role === 'moderator'">
<Checkbox v-model="showRole"> <Checkbox v-model="showRole">
<template v-if="role === 'admin'"> <template v-if="role === 'admin'">
{{ $t('settings.show_admin_badge') }} {{ $t('settings.show_admin_badge') }}