mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix: making crossFilter.chartsInScope optional (#21030)
This commit is contained in:
@@ -294,7 +294,7 @@ export const selectNativeIndicatorsForChart = (
|
||||
const dashboardLayoutValues = Object.values(dashboardLayout);
|
||||
crossFilterIndicators = Object.values(chartConfiguration)
|
||||
.filter(chartConfig =>
|
||||
chartConfig.crossFilters.chartsInScope.includes(chartId),
|
||||
chartConfig.crossFilters?.chartsInScope?.includes(chartId),
|
||||
)
|
||||
.map(chartConfig => {
|
||||
const filterState = dataMask[chartConfig.id]?.filterState;
|
||||
|
||||
Reference in New Issue
Block a user