refactor: display default role if none defined

This commit is contained in:
Gauthier Roebroeck 2020-01-06 13:46:07 +08:00
parent dd6fd6844c
commit 1f9b7cf947

View file

@ -18,6 +18,7 @@
<v-chip v-for="role in me.roles" :key="role"
>{{ role }}
</v-chip>
<v-chip v-if="me.roles.length === 0">USER</v-chip>
</v-chip-group>
</v-col>
</v-row>