mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
fix: handle schemas_allowed_for_csv_upload serde (#16038)
* fix: handle schemas_allowed_for_csv_upload serde * Add migration
This commit is contained in:
@@ -372,13 +372,17 @@ const ExtraOptions = ({
|
||||
<input
|
||||
type="text"
|
||||
name="schemas_allowed_for_csv_upload"
|
||||
value={db?.extra_json?.schemas_allowed_for_csv_upload || ''}
|
||||
placeholder={t('Select one or multiple schemas')}
|
||||
value={(
|
||||
db?.extra_json?.schemas_allowed_for_csv_upload || []
|
||||
).join(',')}
|
||||
placeholder="schema1,schema2"
|
||||
onChange={onExtraInputChange}
|
||||
/>
|
||||
</div>
|
||||
<div className="helper">
|
||||
{t('A list of schemas that CSVs are allowed to upload to.')}
|
||||
{t(
|
||||
'A comma-separated list of schemas that CSVs are allowed to upload to.',
|
||||
)}
|
||||
</div>
|
||||
</StyledInputContainer>
|
||||
<StyledInputContainer css={{ no_margin_bottom }}>
|
||||
|
||||
Reference in New Issue
Block a user