Connect chart filters to backend (#15133)
This PR connects the chart filters settings page to the backend. Both for persisting the filters in the chart's configuration and also for querying with those filters. I made sure that the filters configuration is reset in the draft if we change the data source object.
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
import { type ChartWidget } from '@/command-menu/pages/page-layout/types/ChartWidget';
|
||||
import { WidgetType } from '~/generated/graphql';
|
||||
|
||||
export const isChartWidget = (
|
||||
pageLayoutWidget: any,
|
||||
): pageLayoutWidget is ChartWidget => {
|
||||
return pageLayoutWidget.type === WidgetType.GRAPH;
|
||||
};
|
||||
Reference in New Issue
Block a user