@nkhang1902/strapi-plugin-export-import-clsx 1.4.7 → 1.4.8

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nkhang1902/strapi-plugin-export-import-clsx",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "description": "A powerful Strapi plugin for exporting and importing data with Excel support and advanced filtering",
5
5
  "main": "./strapi-server.js",
6
6
  "scripts": {
@@ -10,7 +10,8 @@ module.exports = ({ strapi }) => ({
10
10
  const buffer = await exportService.exportData(
11
11
  "excel",
12
12
  contentType,
13
- filters
13
+ filters,
14
+ mode
14
15
  );
15
16
 
16
17
  const filename = `${
@@ -119,8 +119,7 @@ module.exports = ({ strapi }) => ({
119
119
 
120
120
  if (format === "excel" && mode === "participant") {
121
121
  return this.convertExperienceParticipantsToExcel(entries[0]);
122
- } else {
123
- console.log(mode)
122
+ } else if (format === "excel") {
124
123
  return this.convertToExcel(exportData.data);
125
124
  }
126
125