mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-24 22:06:43 +01:00
feat(fe): hide some elements for non-admin users
This commit is contained in:
parent
f28364dc35
commit
e3834446ef
@ -162,7 +162,7 @@
|
||||
<v-list-item-content>{{ item.name }}</v-list-item-content>
|
||||
</v-list-item>
|
||||
|
||||
<v-list-item @click="newProjectDialog = true">
|
||||
<v-list-item @click="newProjectDialog = true" v-if="user.admin">
|
||||
<v-list-item-icon>
|
||||
<v-icon>mdi-plus</v-icon>
|
||||
</v-list-item-icon>
|
||||
@ -279,7 +279,7 @@
|
||||
</template>
|
||||
|
||||
<v-list>
|
||||
<v-list-item key="users" to="/users">
|
||||
<v-list-item key="users" to="/users" v-if="user.admin">
|
||||
<v-list-item-icon>
|
||||
<v-icon>mdi-account-multiple</v-icon>
|
||||
</v-list-item-icon>
|
||||
|
Loading…
Reference in New Issue
Block a user