@xuda.io/xuda-widget-plugin-xuda-drive 1.0.26 → 1.0.28

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 +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-widget-plugin-xuda-drive",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
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
@@ -336,8 +336,8 @@ export async function upload(fields, e) {
336
336
  file_tags = file.name.split(identifier);
337
337
  if (fields.auto_tag_translation) {
338
338
  for (let tag of file_tags) {
339
- if (auto_tag_translation[tag]) {
340
- tag = auto_tag_translation[tag];
339
+ if (fields.auto_tag_translation[tag]) {
340
+ tag = fields.auto_tag_translation[tag];
341
341
  }
342
342
  }
343
343
  }