mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix(cross-filters): expand relevant indicator sections (#13703)
This commit is contained in:
@@ -74,11 +74,7 @@ const DetailsPanelPopover = ({
|
||||
function handlePopoverStatus(isOpen: boolean) {
|
||||
// every time the popover opens, make sure the most relevant panel is active
|
||||
if (isOpen) {
|
||||
if (
|
||||
!activePanels.find(panel => getDefaultActivePanel().includes(panel))
|
||||
) {
|
||||
setActivePanels([...activePanels, ...getDefaultActivePanel()]);
|
||||
}
|
||||
setActivePanels(getDefaultActivePanel());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user