mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 15:29:28 +01:00
fix: team management
This commit is contained in:
parent
d3923f18b3
commit
f1c872d0d2
@ -60,7 +60,6 @@
|
||||
<template v-slot:item.actions="{ item }">
|
||||
<v-btn
|
||||
icon
|
||||
:disabled="!isUserAdmin()"
|
||||
@click="askDeleteItem(item.id)"
|
||||
v-if="can(USER_PERMISSIONS.manageProjectUsers)"
|
||||
>
|
||||
@ -137,9 +136,6 @@ export default {
|
||||
getEventName() {
|
||||
return 'i-repositories';
|
||||
},
|
||||
isUserAdmin() {
|
||||
return (this.items.find((x) => x.id === this.userId) || {}).admin;
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user