@bimdata/bcf-components 6.7.4 → 6.7.5

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/src/service.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bimdata/bcf-components",
3
- "version": "6.7.4",
3
+ "version": "6.7.5",
4
4
  "files": [
5
5
  "src",
6
6
  "vue3-plugin.js"
package/src/service.js CHANGED
@@ -102,7 +102,7 @@ class Service {
102
102
  const response = await this.apiClient.bcfApi.downloadBcfExport(
103
103
  project.id,
104
104
  undefined, // Format
105
- topics.map((t) => t.guid).join(",")
105
+ topics?.map((t) => t.guid).join(",")
106
106
  );
107
107
  downloadBlobAs(`${project.name}.bcf`, response);
108
108
  }
@@ -112,7 +112,7 @@ class Service {
112
112
  project.id,
113
113
  undefined, // Format
114
114
  locale,
115
- topics.map((t) => t.guid).join(",")
115
+ topics?.map((t) => t.guid).join(",")
116
116
  );
117
117
  downloadBlobAs(`${project.name}.xlsx`, response);
118
118
  }