Skip to content

Commit

Permalink
touchup: show below-detriments in solution filter
Browse files Browse the repository at this point in the history
not really sure what's best here, but this is following the logic of
showing pieces of the selected solution.

currently, mitigations aren't considered a piece of the selected
solution, so they aren't shown in the filter.
  • Loading branch information
keyserj committed Dec 16, 2024
1 parent 44a0c42 commit 87d5158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/view/utils/infoFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ const getSolutionDetails = (
);

const descendantDetails = solutions.flatMap((solution) =>
descendants(solution, graph, ["obstacleOf", "addresses", "accomplishes", "contingencyFor"]),
descendants(solution, graph, ["createdBy", "obstacleOf", "accomplishes", "contingencyFor"]),
);

const criteriaIds = criteria.map((criterion) => criterion.id);
Expand Down

0 comments on commit 87d5158

Please sign in to comment.