@gingkoo/pandora-explorer 0.1.8 → 0.1.9
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/lib/es/index.js +3 -2
- package/lib/es/index.js.map +1 -1
- package/package.json +1 -1
package/lib/es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @gingkoo/pandora-explorer v0.1.
|
|
2
|
+
* @gingkoo/pandora-explorer v0.1.9
|
|
3
3
|
*/
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import cx$1 from 'classnames';
|
|
@@ -6138,7 +6138,7 @@ var Tree = /*#__PURE__*/forwardRef((props, _ref) => {
|
|
|
6138
6138
|
}, 300);
|
|
6139
6139
|
});
|
|
6140
6140
|
};
|
|
6141
|
-
if (type == 'table' && !treeData
|
|
6141
|
+
if (type == 'table' && !treeData?.length) {
|
|
6142
6142
|
return jsx(NotData, {});
|
|
6143
6143
|
}
|
|
6144
6144
|
return jsx("div", {
|
|
@@ -6442,6 +6442,7 @@ const ExplorerMenu = props => {
|
|
|
6442
6442
|
e.preventDefault();
|
|
6443
6443
|
},
|
|
6444
6444
|
children: jsx(Tree, {
|
|
6445
|
+
type: 'tree',
|
|
6445
6446
|
isload: true,
|
|
6446
6447
|
treeData: data,
|
|
6447
6448
|
height: height,
|