fix: remove user from team
This commit is contained in:
parent
07c07ff702
commit
86efe9fd23
1 changed files with 4 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue