forgot to actually add add/remove methods, lel. remove some consolelogs

This commit is contained in:
Henry Jameson 2022-08-17 00:58:05 +03:00
commit b4f4b370d4
3 changed files with 3 additions and 4 deletions

View file

@ -94,10 +94,10 @@ const ListsNew = {
return this.addedUserIds.has(user.id)
},
addUser (user) {
// this.selectedUserIds.push(user.id)
this.$store.dispatch('addListAccount', { accountId: this.user.id, listId: this.id })
},
removeUser (userId) {
// this.selectedUserIds = this.selectedUserIds.filter(id => id !== userId)
this.$store.dispatch('removeListAccount', { accountId: this.user.id, listId: this.id })
},
onSearchLoading (results) {
this.searchLoading = true