Skip to content

Commit

Permalink
fix: team management
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin committed Sep 17, 2023
1 parent d3923f1 commit f1c872d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions web/src/views/project/Team.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
>
Expand Down Expand Up @@ -137,9 +136,6 @@ export default {
getEventName() {
return 'i-repositories';
},
isUserAdmin() {
return (this.items.find((x) => x.id === this.userId) || {}).admin;
},
},
};
</script>

0 comments on commit f1c872d

Please sign in to comment.