chore: Create a generic header component for Explore and Dashboard (#20044)

* chore: Create a generic header component for Explore and Dashboard

* Add tests

* Fix undefined error

* Remove duplicate code

* Fix cypress test
This commit is contained in:
Kamil Gabryjelski
2022-05-13 15:36:18 +02:00
committed by GitHub
parent b53daa91ec
commit 1cd002e801
13 changed files with 730 additions and 685 deletions

View File

@@ -571,7 +571,6 @@ function ExploreViewContainer(props) {
<ExploreContainer>
<ExploreHeaderContainer>
<ConnectedExploreChartHeader
ownState={props.ownState}
actions={props.actions}
canOverwrite={props.can_overwrite}
canDownload={props.can_download}
@@ -581,7 +580,6 @@ function ExploreViewContainer(props) {
sliceName={props.sliceName}
table_name={props.table_name}
formData={props.form_data}
timeout={props.timeout}
chart={props.chart}
user={props.user}
reports={props.reports}