File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
superset-frontend/src/dashboard Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- import { DatasourceType } from '@superset-ui/core' ;
1+ import { DatasourceType , NativeFilterScope } from '@superset-ui/core' ;
22import { Datasource } from 'src/dashboard/types' ;
33import { DASHBOARD_ROOT_ID } from './util/constants' ;
44/**
@@ -44,7 +44,7 @@ export const FILTER_BAR_TABS_HEIGHT = 46;
4444export const BUILDER_SIDEPANEL_WIDTH = 374 ;
4545export const OVERWRITE_INSPECT_FIELDS = [ 'css' , 'json_metadata.filter_scopes' ] ;
4646
47- export const DEFAULT_CROSS_FILTER_SCOPING = {
47+ export const DEFAULT_CROSS_FILTER_SCOPING : NativeFilterScope = {
4848 rootPath : [ DASHBOARD_ROOT_ID ] ,
4949 excluded : [ ] ,
5050} ;
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ export const getCrossFiltersConfiguration = (
5252 return undefined ;
5353 }
5454
55- const globalChartConfiguration = metadata . global_chart_configuration
55+ const globalChartConfiguration = metadata . global_chart_configuration ?. scope
5656 ? {
5757 scope : metadata . global_chart_configuration . scope ,
5858 chartsInScope : getChartIdsInFilterScope (
You can’t perform that action at this time.
0 commit comments