Skip to content
Snippets Groups Projects
Unverified Commit 8efb7d41 authored by Nick Fitzpatrick's avatar Nick Fitzpatrick Committed by GitHub
Browse files

Wrap sidebar actions in Query Builder View Footer (#26553)

parent bcdd2656
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,9 @@ const ViewFooter = ({
result={result}
active={isShowingChartTypeSidebar}
onClick={
isShowingChartTypeSidebar ? onCloseChartType : onOpenChartType
isShowingChartTypeSidebar
? () => onCloseChartType()
: () => onOpenChartType()
}
/>
),
......@@ -95,8 +97,8 @@ const ViewFooter = ({
active={isShowingChartSettingsSidebar}
onClick={
isShowingChartSettingsSidebar
? onCloseChartSettings
: onOpenChartSettings
? () => onCloseChartSettings()
: () => onOpenChartSettings()
}
/>
),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment