mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-28 18:38:17 +00:00
fix(ingest): always send correct data for advanced section (#11960)
This commit is contained in:
parent
1ba1b2c146
commit
fbc98518b6
@ -193,7 +193,9 @@ export const IngestionSourceList = () => {
|
||||
|
||||
const formatExtraArgs = (extraArgs): StringMapEntryInput[] => {
|
||||
if (extraArgs === null || extraArgs === undefined) return [];
|
||||
return extraArgs.map((entry) => ({ key: entry.key, value: entry.value }));
|
||||
return extraArgs
|
||||
.filter((entry) => entry.value !== null && entry.value !== undefined && entry.value !== '')
|
||||
.map((entry) => ({ key: entry.key, value: entry.value }));
|
||||
};
|
||||
|
||||
const createOrUpdateIngestionSource = (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user