Merge branch 'tusooa/list-add' into 'develop'

Fix list membership actions

See merge request pleroma/pleroma-fe!1733
This commit is contained in:
HJ 2023-01-02 16:25:09 +00:00
commit 3e4a8186a8

View File

@ -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