This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch hugh/validate-edit
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/hugh/validate-edit by this
push:
new 8cd46c4 remove console.log
8cd46c4 is described below
commit 8cd46c4ddaba74576644b34e7c038a8c903041a3
Author: hughhhh <[email protected]>
AuthorDate: Tue Jun 22 17:41:44 2021 -0400
remove console.log
---
superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx | 1 -
superset-frontend/src/views/CRUD/hooks.ts | 1 -
2 files changed, 2 deletions(-)
diff --git
a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
index 4f5ab53..718715f 100644
--- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
+++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
@@ -368,7 +368,6 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps>
= ({
// Validtion DB
await getValidation(dbToUpdate, true);
if (validationErrors) {
- console.log('got validation errors');
return;
}
diff --git a/superset-frontend/src/views/CRUD/hooks.ts
b/superset-frontend/src/views/CRUD/hooks.ts
index b51ff52..4e2ba19 100644
--- a/superset-frontend/src/views/CRUD/hooks.ts
+++ b/superset-frontend/src/views/CRUD/hooks.ts
@@ -684,7 +684,6 @@ export function useDatabaseValidation() {
},
{},
);
- console.log(parsedErrors);
setValidationErrors(parsedErrors);
});
} else {