@visns-studio/visns-components 4.8.13 → 4.8.14

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/package.json CHANGED
@@ -75,7 +75,7 @@
75
75
  "react-dom": "^17.0.0 || ^18.0.0"
76
76
  },
77
77
  "name": "@visns-studio/visns-components",
78
- "version": "4.8.13",
78
+ "version": "4.8.14",
79
79
  "description": "Various packages to assist in the development of our Custom Applications.",
80
80
  "main": "src/index.js",
81
81
  "files": [
@@ -223,7 +223,7 @@ function GenericIndex({
223
223
  e.preventDefault();
224
224
  }
225
225
 
226
- console.info(config, setting);
226
+ const date = moment().format('YYYYMMDD');
227
227
 
228
228
  const res = await Download(
229
229
  config.export.url,
@@ -236,7 +236,7 @@ function GenericIndex({
236
236
  } else {
237
237
  // Assuming the response contains a Blob or similar data
238
238
  if (res.data && res.data instanceof Blob) {
239
- const fileName = `${config.export.filename}`;
239
+ const fileName = `${date}_${config.export.filename}`;
240
240
  saveAs(res.data, fileName);
241
241
  } else {
242
242
  // Handle the case where the response is not a Blob