mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-24 22:06:43 +01:00
fix(ui): display div for role instead of disabled select
This commit is contained in:
parent
821362831c
commit
58fc07e74c
@ -51,9 +51,10 @@
|
||||
item-value="slug"
|
||||
item-text="title"
|
||||
:style="{width: '200px'}"
|
||||
:disabled="!can(USER_PERMISSIONS.manageProjectUsers)"
|
||||
@change="updateProjectUser(item)"
|
||||
v-if="can(USER_PERMISSIONS.manageProjectUsers)"
|
||||
/>
|
||||
<div v-else>{{ USER_ROLES.find(r => r.slug === item.role).title }}</div>
|
||||
</template>
|
||||
|
||||
<template v-slot:item.actions="{ item }">
|
||||
|
Loading…
Reference in New Issue
Block a user