check if the user is an admin
This commit is contained in:
parent
ef34a93699
commit
4cbb8dca8a
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
{{user.email}}
|
||||
</md-table-cell>
|
||||
<md-table-cell class="center-content">
|
||||
<md-icon>done</md-icon>
|
||||
<md-icon v-if="user.isAdmin">done</md-icon>
|
||||
</md-table-cell>
|
||||
<md-table-cell v-if="loggedInUser.isAdmin" class="center-content">
|
||||
<md-button class="md-icon-button" @click="deleteUser(user._id)">
|
||||
|
|
Loading…
Reference in a new issue