From 87d51587a0646fc81faaaa81846a5bf8afc00efe Mon Sep 17 00:00:00 2001 From: Joel Keyser Date: Mon, 16 Dec 2024 17:41:53 -0600 Subject: [PATCH] touchup: show below-detriments in solution filter 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. --- src/web/view/utils/infoFilter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/view/utils/infoFilter.ts b/src/web/view/utils/infoFilter.ts index 7e1329bb..fe2455b7 100644 --- a/src/web/view/utils/infoFilter.ts +++ b/src/web/view/utils/infoFilter.ts @@ -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);