mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
fix(datasets): Stop showing alert when saving from query (#21442)
This commit is contained in:
parent
d21e1d799d
commit
605b6920a6
@ -272,6 +272,7 @@ export const ControlPanelsContainer = (props: ControlPanelsContainerProps) => {
|
||||
useEffect(() => {
|
||||
if (
|
||||
prevDatasource &&
|
||||
prevDatasource.type !== DatasourceType.Query &&
|
||||
(props.exploreState.datasource?.id !== prevDatasource.id ||
|
||||
props.exploreState.datasource?.type !== prevDatasource.type)
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user