@onehat/ui 0.3.186 → 0.3.188
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/package.json
CHANGED
|
@@ -290,6 +290,9 @@ function Form(props) {
|
|
|
290
290
|
return _.map(items, (item, ix) => buildFromItem(item, ix, columnDefaults));
|
|
291
291
|
},
|
|
292
292
|
buildFromItem = (item, ix, defaults) => {
|
|
293
|
+
if (!item) {
|
|
294
|
+
return null;
|
|
295
|
+
}
|
|
293
296
|
if (React.isValidElement(item)) {
|
|
294
297
|
return item;
|
|
295
298
|
}
|
|
@@ -32,7 +32,7 @@ function UploadsDownloadsWindow(props) {
|
|
|
32
32
|
showInfo,
|
|
33
33
|
} = props,
|
|
34
34
|
[importFile, setImportFile] = useState(null),
|
|
35
|
-
[width, height] = useAdjustedWindowSize(400,
|
|
35
|
+
[width, height] = useAdjustedWindowSize(400, 450),
|
|
36
36
|
onDownload = (isTemplate = false) => {
|
|
37
37
|
const
|
|
38
38
|
baseURL = Repository.api.baseURL,
|