Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
🐛 Refresh list of members on add
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Sep 3, 2020
1 parent 456ec05 commit c6b721f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pages/teams/_id/members.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
<div class="column">
<b-field label="Role">
<b-select v-model="newMemberRole" expanded>
<option value="OWNER">Owner</option>
<option value="ADMIN">Admin</option>
<option value="MEMBER">Member</option>
</b-select>
Expand Down Expand Up @@ -150,10 +149,7 @@ export default class UsersProfile extends Vue {
role: this.newMemberRole
}
);
this.members.data.push(data.added);
this.newMemberName = "";
this.newMemberEmail = "";
this.newMemberRole = "";
this.get();
} catch (error) {}
this.loadingAdd = false;
}
Expand Down

0 comments on commit c6b721f

Please sign in to comment.