next csv params

This commit is contained in:
Jan Prochazka
2020-11-19 11:36:34 +01:00
parent 0cd3e393e8
commit 7ccb1d9c90
5 changed files with 21 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ function extractApiParameters(values, direction, format) {
const pairs = (format.args || [])
.filter((arg) => arg.apiName)
.map((arg) => [arg.apiName, values[`${direction}_${format.storageType}_${arg.name}`]])
.filter((x) => x[1]);
.filter((x) => x[1] != null);
return _.fromPairs(pairs);
}