diff options
| author | tusooa <tusooa@kazv.moe> | 2022-12-30 16:26:50 -0500 |
|---|---|---|
| committer | tusooa <tusooa@kazv.moe> | 2022-12-30 16:26:50 -0500 |
| commit | 5e98ee05e4a163b9c939f6186b2e1d42cb852d4b (patch) | |
| tree | 288bc121ceec6b69ebde74dbc578023621845430 /src/components/lists_edit/lists_edit.js | |
| parent | 6d66c3a717db9e1876d84767641edc9e705013a5 (diff) | |
Fix list membership actions
Diffstat (limited to 'src/components/lists_edit/lists_edit.js')
| -rw-r--r-- | src/components/lists_edit/lists_edit.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/lists_edit/lists_edit.js b/src/components/lists_edit/lists_edit.js index c22d1323..c33659df 100644 --- a/src/components/lists_edit/lists_edit.js +++ b/src/components/lists_edit/lists_edit.js @@ -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 |
