commit: 3e4a8186a8368be1bc84053d6a6f494eda236739
parent 1ffa6e2f0ba31e8237a73d074b3a240f7c84fca3
Author: HJ <30-hj@users.noreply.git.pleroma.social>
Date: Mon, 2 Jan 2023 16:25:09 +0000
Merge branch 'tusooa/list-add' into 'develop'
Fix list membership actions
See merge request pleroma/pleroma-fe!1733
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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