Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Vyacheslav Tumanov <[email protected]>
  • Loading branch information
ThetaDR committed May 20, 2024
1 parent a700162 commit 4234148
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/contact-resources/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -457,14 +457,14 @@ export function groupByPersonAccountCategories (categories: any[]): AggregateVal
if (personAccount !== undefined) {
let fst = personMap.get(personAccount.person)
if (fst === undefined) {
const components = mgr
const people = mgr
.getDocs()
.filter(
(it) => it.person === personAccount.person && (categories.includes(it._id) || usedSpaces.has(it.space))
)
.sort((a, b) => a.email.localeCompare(b.email))
.map((it) => new AggregateValueData(it.person, it._id, it.space))
fst = new AggregateValue(personAccount.person, components)
fst = new AggregateValue(personAccount.person, people)
personMap.set(personAccount.person, fst)
existingCategories.push(fst)
}
Expand Down

0 comments on commit 4234148

Please sign in to comment.