Skip to content

Commit

Permalink
[filters] Fixes topological filters summaries
Browse files Browse the repository at this point in the history
This commit fixes some issues described in #80 comments.
  • Loading branch information
jacomyal committed Feb 5, 2025
1 parent 5e0be83 commit 4e38fa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const TopologicalFilter: FC<{
<div className="fs-5">{filterDefinition.label}</div>
{!editMode && (
<div className="flex-grow-1">
<span className="fs-6">{filterDefinition.summary(filterDefinition.parameters)}</span>{" "}
<span className="fs-6">{filterDefinition.summary(filter.parameters)}</span>{" "}
</div>
)}
{active && <FilteredGraphSummary filterIndex={filterIndex} />}
Expand Down
4 changes: 2 additions & 2 deletions packages/gephi-lite/src/core/filters/topological/ego.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ export const buildEgoFilterDefinition = (
summary: ([egoId, depth, direction]) => (
<div>
{typeof egoId === "string" && (
<div className="d-inline-block">
<div className="d-inline-block me-1">
<NodeComponentById id={egoId} />
</div>
)}
<span className="ms-1 align-top">
<span className="align-top">
{t("filters.topology.ego.summary_depth", {
depth: depth,
}) +
Expand Down

0 comments on commit 4e38fa0

Please sign in to comment.