authscape 1.0.264 → 1.0.265
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +6 -4
- package/package.json +1 -1
- package/src/components/FileUploader.js +7 -4
package/index.js
CHANGED
|
@@ -1307,10 +1307,12 @@ var FileUploader = function FileUploader(_ref) {
|
|
|
1307
1307
|
var propertyValues = Object.values(params);
|
|
1308
1308
|
var array = [];
|
|
1309
1309
|
for (var index = 0; index < propertyNames.length; index++) {
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1310
|
+
if (propertyNames[index] != null && propertyValues[index] != null) {
|
|
1311
|
+
array.push({
|
|
1312
|
+
key: propertyNames[index],
|
|
1313
|
+
value: propertyValues[index]
|
|
1314
|
+
});
|
|
1315
|
+
}
|
|
1314
1316
|
}
|
|
1315
1317
|
setParameters(array);
|
|
1316
1318
|
}
|
package/package.json
CHANGED
|
@@ -131,10 +131,13 @@ export const FileUploader = ({
|
|
|
131
131
|
let array = [];
|
|
132
132
|
|
|
133
133
|
for (let index = 0; index < propertyNames.length; index++) {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
134
|
+
if (propertyNames[index] != null && propertyValues[index] != null)
|
|
135
|
+
{
|
|
136
|
+
array.push({
|
|
137
|
+
key: propertyNames[index],
|
|
138
|
+
value: propertyValues[index],
|
|
139
|
+
});
|
|
140
|
+
}
|
|
138
141
|
}
|
|
139
142
|
|
|
140
143
|
setParameters(array);
|