You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2021/07/16 21:53:19 UTC
[superset] 02/02: fixed csv list
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch fix-csv-upload-array
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 7f205193cb01bc6043efaa56a7911f95d8050ada
Author: hughhhh <hu...@gmail.com>
AuthorDate: Fri Jul 16 17:51:26 2021 -0400
fixed csv list
---
.../src/views/CRUD/data/database/DatabaseModal/index.tsx | 4 +---
1 file changed, 1 insertion(+), 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 95c09b0..db2d470 100644
--- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
+++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
@@ -257,9 +257,7 @@ function dbReducer(
...JSON.parse(action.payload.extra || ''),
metadata_params: JSON.stringify(extra_json?.metadata_params),
engine_params: JSON.stringify(extra_json?.engine_params),
- schemas_allowed_for_csv_upload: JSON.stringify(
- extra_json?.schemas_allowed_for_csv_upload,
- ),
+ schemas_allowed_for_csv_upload: extra_json?.schemas_allowed_for_csv_upload
};
}