Skip to content

Commit

Permalink
Link to _view_ entities (not data store entities)
Browse files Browse the repository at this point in the history
  • Loading branch information
abey79 committed Jul 12, 2024
1 parent 9444ba6 commit 1a3e035
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions crates/viewer/re_space_view_dataframe/src/space_view_class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ fn entity_and_time_vs_component_ui(
&latest_at_query,
ctx.recording(),
ui,
None,
Some(query.space_view_id),
entity_path,
);
});
Expand Down Expand Up @@ -325,7 +325,14 @@ fn entity_and_instance_vs_component_ui(
let instance = &sorted_instance_paths[row.index()];

row.col(|ui| {
instance_path_button(ctx, &latest_at_query, ctx.recording(), ui, None, instance);
instance_path_button(
ctx,
&latest_at_query,
ctx.recording(),
ui,
Some(query.space_view_id),
instance,
);
});

for component_name in &sorted_components {
Expand All @@ -338,7 +345,7 @@ fn entity_and_instance_vs_component_ui(
);

if let Some(results) =
// This is a duplicate of the one above, but this ok since this codes runs
// This is a duplicate of the one above, but this is ok since this codes runs
// *only* for visible rows.
results.components.get(component_name)
{
Expand Down

0 comments on commit 1a3e035

Please sign in to comment.