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