From b6f31abcfea9d819082d21a21a895058688c2144 Mon Sep 17 00:00:00 2001 From: Grace Guo Date: Fri, 13 Dec 2019 11:40:27 -0800 Subject: [PATCH] [dashboard] fix duplicated chart fetching when dashboard has default_filters (#8829) --- superset/assets/src/dashboard/components/Dashboard.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/assets/src/dashboard/components/Dashboard.jsx b/superset/assets/src/dashboard/components/Dashboard.jsx index b48c24ea8..669c5ce87 100644 --- a/superset/assets/src/dashboard/components/Dashboard.jsx +++ b/superset/assets/src/dashboard/components/Dashboard.jsx @@ -79,7 +79,7 @@ class Dashboard extends React.PureComponent { constructor(props) { super(props); - this.appliedFilters = {}; + this.appliedFilters = props.activeFilters || {}; } componentDidMount() {