@gingkoo/pandora-explorer 0.0.1-alpha.30 → 0.0.1-alpha.31
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 +2 -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.0.1-alpha.
|
|
2
|
+
* @gingkoo/pandora-explorer v0.0.1-alpha.31
|
|
3
3
|
*/
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import cx$1 from 'classnames';
|
|
@@ -7448,7 +7448,7 @@ const Explorer = props => {
|
|
|
7448
7448
|
});
|
|
7449
7449
|
}
|
|
7450
7450
|
let _file = ['folder', 'xls', 'xlsx', 'doc', 'docx', 'pptx', 'md', 'txt', 'js', 'css', 'pdf', 'html', 'json'];
|
|
7451
|
-
if (v
|
|
7451
|
+
if (v?.pic && typeof v?.pic == 'string') {
|
|
7452
7452
|
return jsx("img", {
|
|
7453
7453
|
className: cx$1(`${className || ''}`),
|
|
7454
7454
|
src: v.pic
|