Skip to content

Commit 05fd143

Browse files
committed
Pass legend state props to modal VisualizationWidget
1 parent b4a2876 commit 05fd143

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

static/app/components/modals/dataWidgetViewerModal.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,10 @@ function DataWidgetViewerModal(props: Props) {
631631
widget={primaryWidget}
632632
tableItemLimit={widget.limit}
633633
onZoom={onZoom}
634+
legendSelection={widgetLegendState.getWidgetSelectionState(widget)}
635+
onLegendSelectionChange={nextLegendSelection =>
636+
onLegendSelectChanged({selected: nextLegendSelection})
637+
}
634638
showConfidenceWarning={
635639
widget.widgetType === WidgetType.SPANS ||
636640
widget.widgetType === WidgetType.TRACEMETRICS ||

0 commit comments

Comments
 (0)