Skip to content

Commit

Permalink
Fix bug where removing a member leaves the team (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
sutherlanda authored Dec 17, 2019
1 parent 0bbca6a commit 9b2938a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth-web/src/components/auth/MemberDataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{{ formatDate(item.user.modified) }}
</template>
<template v-slot:item.action="{ item }">
<v-btn :data-test="getIndexedTag('remove-user-button', item.index)" v-show="!canLeave(item)" depressed small @click="confirmLeaveTeam(item)">Remove</v-btn>
<v-btn :data-test="getIndexedTag('remove-user-button', item.index)" v-show="!canLeave(item)" depressed small @click="confirmRemoveMember(item)">Remove</v-btn>
<v-btn :data-test="getIndexedTag('leave-team-button', item.index)" v-show="canLeave(item)" depressed small @click="confirmLeaveTeam(item)">
<span v-if="!canDissolve()">Leave</span>
<span v-if="canDissolve()">Dissolve</span>
Expand Down

0 comments on commit 9b2938a

Please sign in to comment.