@bigbinary/neeto-folders-frontend 2.0.19 → 2.0.20
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/dist/cjs/components.js
CHANGED
|
@@ -1344,7 +1344,7 @@ var FoldersList = function FoldersList(_ref) {
|
|
|
1344
1344
|
folder = _useFolder.folder;
|
|
1345
1345
|
var actions = useFolderActions.useFolderActions(config);
|
|
1346
1346
|
var subFolders = folderId ? folder === null || folder === void 0 ? void 0 : folder.children : folders;
|
|
1347
|
-
if (neetoCist.isNotPresent(subFolders)) return null;
|
|
1347
|
+
if (neetoCist.isNotPresent(subFolders) || !Array.isArray(subFolders)) return null;
|
|
1348
1348
|
return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
1349
1349
|
children: [/*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
1350
1350
|
className: "my-3",
|