zet-lib 1.4.21 → 1.4.22

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/lib/zRoute.js +1 -1
  2. package/package.json +1 -1
package/lib/zRoute.js CHANGED
@@ -4335,7 +4335,7 @@ zRoute.generateJS = (req, res, MYMODEL, relations, zForms = "", data = {}) => {
4335
4335
  });
4336
4336
  if(dropbox_${item}_data.length > 0) {
4337
4337
  ajaxPost('/zdropbox-files',{files:dropbox_${item}_data,table:"${MYMODEL.table}",field:"${item}"}, function(datas) {
4338
- datas.map((mockFile) => {
4338
+ datas.map((mockFile, index) => {
4339
4339
  dz.options.addedfile.call(dz, mockFile);
4340
4340
  dz.options.thumbnail.call(dz, mockFile, mockFile.link);
4341
4341
  const imageElement = mockFile.previewElement.querySelector('.dz-image');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zet-lib",
3
- "version": "1.4.21",
3
+ "version": "1.4.22",
4
4
  "description": "zet is a library that part of zet generator.",
5
5
  "engines": {
6
6
  "node": ">=18"