File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/Aspire.Dashboard/Components/Pages Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ private string GetRowClass(SpanWaterfallViewModel viewModel)
261261
262262 public SpanDetailsViewModel ? SelectedSpan { get ; set ; }
263263
264- private void OnToggleCollapse ( SpanWaterfallViewModel viewModel )
264+ private async Task OnToggleCollapse ( SpanWaterfallViewModel viewModel )
265265 {
266266 // View model data is recreated if the trace updates.
267267 // Persist the collapsed state in a separate list.
@@ -275,6 +275,8 @@ private void OnToggleCollapse(SpanWaterfallViewModel viewModel)
275275 viewModel . IsCollapsed = true ;
276276 _collapsedSpanIds . Add ( viewModel . Span . SpanId ) ;
277277 }
278+
279+ await _dataGrid . SafeRefreshDataAsync ( ) ;
278280 }
279281
280282 private async Task OnShowPropertiesAsync ( SpanWaterfallViewModel viewModel , string ? buttonId )
You can’t perform that action at this time.
0 commit comments