You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2024/02/15 21:10:42 UTC
(superset) 03/04: unused toggleShowDatasource
This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch Lint-cleanup
in repository https://gitbox.apache.org/repos/asf/superset.git
commit a3164972cc5592b041d20710dd8945a1d457afe3
Author: Evan Rusackas <ev...@rusackas.com>
AuthorDate: Thu Feb 15 13:41:19 2024 -0700
unused toggleShowDatasource
---
.../src/explore/components/controls/DatasourceControl/index.jsx | 6 ------
1 file changed, 6 deletions(-)
diff --git a/superset-frontend/src/explore/components/controls/DatasourceControl/index.jsx b/superset-frontend/src/explore/components/controls/DatasourceControl/index.jsx
index d72fe5f9e0..ff7cab8f3b 100644
--- a/superset-frontend/src/explore/components/controls/DatasourceControl/index.jsx
+++ b/superset-frontend/src/explore/components/controls/DatasourceControl/index.jsx
@@ -213,12 +213,6 @@ class DatasourceControl extends React.PureComponent {
}
};
- toggleShowDatasource = () => {
- this.setState(({ showDatasource }) => ({
- showDatasource: !showDatasource,
- }));
- };
-
toggleChangeDatasourceModal = () => {
this.setState(({ showChangeDatasourceModal }) => ({
showChangeDatasourceModal: !showChangeDatasourceModal,