Skip to content

Commit

Permalink
WIP: Use relatedPlanIndicators in umbrella plan instead of planindica…
Browse files Browse the repository at this point in the history
…tors. Filter by relatedPlanIndicators common categories instead of planIndicator categories
  • Loading branch information
Bhavatu committed Oct 16, 2024
1 parent 3567ba4 commit 97b7fa2
Show file tree
Hide file tree
Showing 3 changed files with 269 additions and 53 deletions.
66 changes: 59 additions & 7 deletions common/__generated__/graphql.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions components/actions/ActionListFilters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,7 @@ class CategoryFilter extends DefaultFilter<FilterValue> {
(cat) => cat.parent,
(cat) => cat.children
);
console.log('sortedcats', sortedCats);
this.catById = this.filterByCommonCategory
? new Map(sortedCats.map((c) => [c.common.id, c]))
: new Map(sortedCats.map((c) => [c.id, c]));
Expand Down
Loading

0 comments on commit 97b7fa2

Please sign in to comment.