refactor: fill span for full view and dashboard view (#4424)

* refactor: fill span for full view and dashboard view

* refactor: fill span works in full view and dashboard
This commit is contained in:
Rajat Dabade 2024-01-24 15:37:34 +05:30 committed by GitHub
parent 6d67ca72a0
commit 9e05cb48fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -105,7 +105,7 @@ function FullView({
panelTypeAndGraphManagerVisibility: PANEL_TYPES_VS_FULL_VIEW_TABLE,
});
const chartData = getUPlotChartData(response?.data?.payload);
const chartData = getUPlotChartData(response?.data?.payload, widget.fillSpans);
const isDarkMode = useIsDarkMode();

View File

@ -196,6 +196,7 @@ function GraphLayout({ onAddPanelHandler }: GraphLayoutProps): JSX.Element {
name={currentWidget?.id || ''}
headerMenuList={widgetActions}
variables={variables}
fillSpans={currentWidget?.fillSpans}
/>
</Card>
</CardContainer>