fix: team management

This commit is contained in:
Denis Gukov 2023-09-17 16:19:47 +02:00
parent d3923f18b3
commit f1c872d0d2

View File

@ -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>