This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch hugh/db-connection-ui-r2
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/hugh/db-connection-ui-r2 by 
this push:
     new 5e8e83e  fix additional params issue
5e8e83e is described below

commit 5e8e83e27db6278604043941359d56cf439ae37c
Author: hughhhh <[email protected]>
AuthorDate: Thu Jun 17 11:40:00 2021 -0400

    fix additional params issue
---
 .../src/views/CRUD/data/database/DatabaseModal/index.tsx            | 6 +++---
 1 file changed, 3 insertions(+), 3 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 a2f3145..3a349c3 100644
--- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
+++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
@@ -356,9 +356,9 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> 
= ({
           .replace(/&/g, '","')
           .replace(/=/g, '":"')}"}`,
       );
-    } else if (update.parameters) {
-      update.parameters.query = {};
-    }
+    } // else if (update.parameters) {
+    //   update.parameters.query = {};
+    // }
 
     if (db?.id) {
       if (update?.extra_json) {

Reply via email to