Fix list membership actions

このコミットが含まれているのは:
tusooa 2022-12-30 16:26:50 -05:00
コミット 5e98ee05e4
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 7B467EDE43A08224
1個のファイルの変更2行の追加2行の削除

ファイルの表示

@ -95,10 +95,10 @@ const ListsNew = {
return this.addedUserIds.has(user.id)
},
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) {
this.$store.dispatch('removeListAccount', { accountId: this.user.id, listId: this.id })
this.$store.dispatch('removeListAccount', { accountId: userId, listId: this.id })
},
onSearchLoading (results) {
this.searchLoading = true