Skip to content

Commit

Permalink
fix(datasets): Stop showing alert when saving from query (#21442)
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio-RiveroMartnez committed Oct 11, 2022
1 parent d21e1d7 commit 605b692
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
) {
Expand Down

0 comments on commit 605b692

Please sign in to comment.