mirror of
https://github.com/apache/superset.git
synced 2026-05-08 17:35:33 +00:00
fix(explore): Replace url search params only if current page is Explore (#20972)
* fix(explore): Replace url search params only if current page is Explore * Add unit test
This commit is contained in:
committed by
GitHub
parent
499a28f599
commit
9350bbafee
@@ -153,7 +153,7 @@ const ExploreChartPanel = ({
|
||||
const [showDatasetModal, setShowDatasetModal] = useState(false);
|
||||
|
||||
const metaDataRegistry = getChartMetadataRegistry();
|
||||
const { useLegacyApi } = metaDataRegistry.get(vizType);
|
||||
const { useLegacyApi } = metaDataRegistry.get(vizType) ?? {};
|
||||
const vizTypeNeedsDataset =
|
||||
useLegacyApi && datasource.type !== DatasourceType.Table;
|
||||
// added boolean column to below show boolean so that the errors aren't overlapping
|
||||
|
||||
Reference in New Issue
Block a user