You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2022/08/09 16:57:15 UTC
[superset] branch fixing-chart-crossfilter-indicator created (now f464a0ed71)
This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a change to branch fixing-chart-crossfilter-indicator
in repository https://gitbox.apache.org/repos/asf/superset.git
at f464a0ed71 fix: making crossFilter.chartsInScope optional
This branch includes the following new commits:
new f464a0ed71 fix: making crossFilter.chartsInScope optional
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[superset] 01/01: fix: making crossFilter.chartsInScope optional
Posted by ru...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch fixing-chart-crossfilter-indicator
in repository https://gitbox.apache.org/repos/asf/superset.git
commit f464a0ed71be68a41646dde5344837e6bb0459c2
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Tue Aug 9 10:57:01 2022 -0600
fix: making crossFilter.chartsInScope optional
---
superset-frontend/src/dashboard/components/FiltersBadge/selectors.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset-frontend/src/dashboard/components/FiltersBadge/selectors.ts b/superset-frontend/src/dashboard/components/FiltersBadge/selectors.ts
index 880a6d33e7..855ca303db 100644
--- a/superset-frontend/src/dashboard/components/FiltersBadge/selectors.ts
+++ b/superset-frontend/src/dashboard/components/FiltersBadge/selectors.ts
@@ -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;