fix: remove user from team

This commit is contained in:
kolaente 2022-05-01 21:47:07 +02:00
parent 07c07ff702
commit 86efe9fd23
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -250,7 +250,10 @@ export default defineComponent({
async deleteUser() {
try {
await this.teamMemberService.delete(this.member)
await this.teamMemberService.delete({
teamId: this.team.id,
username: this.member.username,
})
this.$message.success({message: this.$t('team.edit.deleteUser.success')})
this.loadTeam()
} finally {