fix
This commit is contained in:
parent
75d38d3f2b
commit
4114349b0d
1 changed files with 1 additions and 1 deletions
|
|
@ -411,7 +411,7 @@ export const useStatusesStore = defineStore('statuses', {
|
|||
const accounts = value
|
||||
? [...reaction.accounts, currentUser]
|
||||
: reaction.accounts.filter((acc) => acc.id !== currentUser.id)
|
||||
const account_ids = accounts.map(({ id }) => id)
|
||||
const account_ids = accounts.filter(Boolean).map(({ id }) => id)
|
||||
|
||||
const newReaction = {
|
||||
...reaction,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue