@nkhang1902/strapi-plugin-export-import-clsx 1.9.1 → 1.9.3

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.9.1",
3
+ "version": "1.9.3",
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": {
@@ -502,13 +502,13 @@ module.exports = ({ strapi }) => ({
502
502
  ...tag(experienceData?.investors, 'investor'),
503
503
  ...tag(experienceData?.vipGuests, 'vipGuest'),
504
504
  ];
505
-
505
+ console.log(JSON.stringify(participants, null, 2));
506
506
  const data = participants.map((p) => ({
507
507
  type: p.type,
508
508
  fullName:
509
- p.fullName ??
510
- [p.firstName, p.lastName].filter(Boolean).join(' ') ??
511
- p.corporateName ??
509
+ p.fullName ||
510
+ [p.firstName, p.lastName].filter(Boolean).join(' ') ||
511
+ p.corporateName ||
512
512
  '',
513
513
  companyName: p.companyInformation?.companyName ?? '',
514
514
  title: p.businessTitle ?? '',