lint
This commit is contained in:
parent
9676f95cf4
commit
18bdc84200
1 changed files with 2 additions and 1 deletions
|
|
@ -21,7 +21,8 @@ export const useReportsStore = defineStore('reports', {
|
|||
const preTickedIds = new Set(statusIds)
|
||||
// There could be a case (i.e. user is only ever mentioned in someone else's post -> user popover)
|
||||
// where user has no known posts
|
||||
const userAllStatusesIds = useStatusesStore().statusesPerUser.get(userId) ?? new Set()
|
||||
const userAllStatusesIds =
|
||||
useStatusesStore().statusesPerUser.get(userId) ?? new Set()
|
||||
// Set constructor should take care of duplicated IDs and order,
|
||||
// later duplicated IDs will be dropped in favor of earlier
|
||||
const sortedIds = new Set([...preTickedIds, ...userAllStatusesIds])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue