Skip to content

Commit

Permalink
fix(docs): groupings
Browse files Browse the repository at this point in the history
  • Loading branch information
JMBeresford committed May 9, 2024
1 parent 1ad439f commit 61e2188
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/web/app/docs/reflection-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ allReflections.forEach((reflection) => {
allGroups.set(group.title, []);
}

allGroups.get(group.title)?.push(reflection.id.toString());
const ids = group.children?.map((child) => child.toString()) || [];

allGroups.get(group.title)?.push(...ids);
});
}
});
Expand Down

0 comments on commit 61e2188

Please sign in to comment.