mirror of
https://github.com/apache/superset.git
synced 2026-06-03 22:59:21 +00:00
refactor: Removes the Filter Box code (#26328)
Co-authored-by: John Bodley <john.bodley@gmail.com>
This commit is contained in:
committed by
GitHub
parent
591f266543
commit
d9a3c3e1dd
@@ -430,31 +430,27 @@ const ExploreChartPanel = ({
|
||||
className="panel panel-default chart-container"
|
||||
showSplite={showSplite}
|
||||
>
|
||||
{vizType === 'filter_box' ? (
|
||||
panelBody
|
||||
) : (
|
||||
<Split
|
||||
sizes={splitSizes}
|
||||
minSize={MIN_SIZES}
|
||||
direction="vertical"
|
||||
gutterSize={gutterHeight}
|
||||
onDragEnd={onDragEnd}
|
||||
elementStyle={elementStyle}
|
||||
expandToMin
|
||||
>
|
||||
{panelBody}
|
||||
<DataTablesPane
|
||||
ownState={ownState}
|
||||
queryFormData={queryFormData}
|
||||
datasource={datasource}
|
||||
queryForce={force}
|
||||
onCollapseChange={onCollapseChange}
|
||||
chartStatus={chart.chartStatus}
|
||||
errorMessage={errorMessage}
|
||||
actions={actions}
|
||||
/>
|
||||
</Split>
|
||||
)}
|
||||
<Split
|
||||
sizes={splitSizes}
|
||||
minSize={MIN_SIZES}
|
||||
direction="vertical"
|
||||
gutterSize={gutterHeight}
|
||||
onDragEnd={onDragEnd}
|
||||
elementStyle={elementStyle}
|
||||
expandToMin
|
||||
>
|
||||
{panelBody}
|
||||
<DataTablesPane
|
||||
ownState={ownState}
|
||||
queryFormData={queryFormData}
|
||||
datasource={datasource}
|
||||
queryForce={force}
|
||||
onCollapseChange={onCollapseChange}
|
||||
chartStatus={chart.chartStatus}
|
||||
errorMessage={errorMessage}
|
||||
actions={actions}
|
||||
/>
|
||||
</Split>
|
||||
{showDatasetModal && (
|
||||
<SaveDatasetModal
|
||||
visible={showDatasetModal}
|
||||
|
||||
Reference in New Issue
Block a user