Fix list membership actions
This commit is contained in:
parent
6d66c3a717
commit
5e98ee05e4
@ -95,10 +95,10 @@ const ListsNew = {
|
|||||||
return this.addedUserIds.has(user.id)
|
return this.addedUserIds.has(user.id)
|
||||||
},
|
},
|
||||||
addUser (user) {
|
addUser (user) {
|
||||||
this.$store.dispatch('addListAccount', { accountId: this.user.id, listId: this.id })
|
this.$store.dispatch('addListAccount', { accountId: user.id, listId: this.id })
|
||||||
},
|
},
|
||||||
removeUser (userId) {
|
removeUser (userId) {
|
||||||
this.$store.dispatch('removeListAccount', { accountId: this.user.id, listId: this.id })
|
this.$store.dispatch('removeListAccount', { accountId: userId, listId: this.id })
|
||||||
},
|
},
|
||||||
onSearchLoading (results) {
|
onSearchLoading (results) {
|
||||||
this.searchLoading = true
|
this.searchLoading = true
|
||||||
|
Loading…
Reference in New Issue
Block a user