feat(explore): Don't discard controls with custom sql when changing datasource (#20934)

This commit is contained in:
Kamil Gabryjelski
2022-10-19 15:29:38 +02:00
committed by GitHub
parent ec20c0104e
commit cddc361adc
22 changed files with 193 additions and 183 deletions

View File

@@ -57,6 +57,7 @@ export default function OptionWrapper(
clickClose,
withCaret,
isExtra,
datasourceWarningMessage,
canDelete = true,
...rest
} = props;
@@ -176,6 +177,7 @@ export default function OptionWrapper(
clickClose={clickClose}
withCaret={withCaret}
isExtra={isExtra}
datasourceWarningMessage={datasourceWarningMessage}
canDelete={canDelete}
>
<Label />