Skip to content

Commit

Permalink
feat(ui): admin badge
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin committed Sep 17, 2023
1 parent f1c872d commit b2cecc7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions web/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -314,15 +314,19 @@
v-on="on"
>
<v-list-item-icon>
<v-icon :color="user.admin ? 'red' : ''">mdi-account</v-icon>
<v-icon>mdi-account</v-icon>
</v-list-item-icon>

<v-list-item-content>
<v-list-item-title>
{{ user.name }}
<v-chip v-if="user.admin" small color="red" class="ml-1">admin</v-chip>
</v-list-item-title>

</v-list-item-content>

<v-list-item-action>
<v-chip color="red" small>admin</v-chip>
</v-list-item-action>
</v-list-item>
</template>

Expand Down

0 comments on commit b2cecc7

Please sign in to comment.