This is an automated email from the ASF dual-hosted git repository.
stephenlyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 9b6322b640 fix(native-filters): panels are collapsed when switch
native filters (#21976)
9b6322b640 is described below
commit 9b6322b640a12d5d680bb959414dc12d2277a094
Author: Stephen Liu <[email protected]>
AuthorDate: Fri Nov 4 19:10:08 2022 +0800
fix(native-filters): panels are collapsed when switch native filters
(#21976)
---
.../FiltersConfigModal/FiltersConfigForm/FiltersConfigForm.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/FiltersConfigForm.tsx
b/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/FiltersConfigForm.tsx
index 24f93ae38b..d70679128e 100644
---
a/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/FiltersConfigForm.tsx
+++
b/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/FiltersConfigForm.tsx
@@ -840,7 +840,7 @@ const FiltersConfigForm = (
</StyledRowContainer>
)}
<StyledCollapse
- activeKey={activeFilterPanelKeys}
+ defaultActiveKey={activeFilterPanelKeys}
onChange={key => {
handleActiveFilterPanelChange(key);
}}