diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2023-01-02 16:25:09 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2023-01-02 16:25:09 +0000 |
| commit | 3e4a8186a8368be1bc84053d6a6f494eda236739 (patch) | |
| tree | fb3025df66a733cbcd514eb508a3a0f054a378c5 /src | |
| parent | 1ffa6e2f0ba31e8237a73d074b3a240f7c84fca3 (diff) | |
| parent | 5e98ee05e4a163b9c939f6186b2e1d42cb852d4b (diff) | |
Merge branch 'tusooa/list-add' into 'develop'
Fix list membership actions
See merge request pleroma/pleroma-fe!1733
Diffstat (limited to 'src')
| -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 |
