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/05/25 23:45:28 UTC
[superset] 03/05: add name to allow for actions to get picked up
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch hugh/bg-validation-db-modal
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 7c49d85490bec8541cb4ed16ccb35cb6e6e151aa
Author: hughhhh <hu...@gmail.com>
AuthorDate: Tue May 25 17:20:23 2021 -0400
add name to allow for actions to get picked up
---
.../CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
index 0ca1202..b469cf8 100644
--- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
+++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
@@ -67,17 +67,14 @@ const credentialsInfo = ({
<Select value="paste">Copy and Paste JSON credentials</Select>
</Select>
{uploadOption === 'paste' ? (
- <div className="input-container">
- <Input rows={4}/>
+ <div className="input-container" onChange={changeMethods.onChange}>
+ <Input name="encryption_extra" rows={4}/>
</div>
) : (
<Upload>
<Button>Click to Upload</Button>
</Upload>
)}
- {/* <div className="input-container">
- <Input rows={4}/>
- </div> */}
</>
);
};
@@ -245,7 +242,6 @@ const DatabaseConnectionForm = ({
key: field,
}),
)}
- {JSON.stringify(parameters)}
</div>
</>
);