@xuda.io/xuda-widget-plugin-xuda-drive 1.0.8 → 1.0.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/runtime.mjs +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-widget-plugin-xuda-drive",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Xuda Drive widget plugin",
5
5
  "scripts": {
6
6
  "pub": "npm version patch --force && npm publish --access public"
package/runtime.mjs CHANGED
@@ -579,7 +579,7 @@ export async function viewer(fields, e) {
579
579
  try {
580
580
  const ret = search_drive();
581
581
 
582
- for (let file of ret.data.docs) {
582
+ for (let file of ret.data) {
583
583
  switch (viewer_type) {
584
584
  case "gallery": {
585
585
  e.$containerP.append(`