@websolutespa/bom-core 1.8.15 → 1.8.16
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/CHANGELOG.md +6 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -343,7 +343,7 @@ async function collectFeatureTypes(items, ...keys) {
|
|
|
343
343
|
id: value2,
|
|
344
344
|
title: String(value2)
|
|
345
345
|
};
|
|
346
|
-
if (features && !features.find((x) => x.id === option.id)) {
|
|
346
|
+
if (option.id && option.title && features && !features.find((x) => x.id === option.id)) {
|
|
347
347
|
features.push(option);
|
|
348
348
|
}
|
|
349
349
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -187,7 +187,7 @@ async function collectFeatureTypes(items, ...keys) {
|
|
|
187
187
|
id: value2,
|
|
188
188
|
title: String(value2)
|
|
189
189
|
};
|
|
190
|
-
if (features && !features.find((x) => x.id === option.id)) {
|
|
190
|
+
if (option.id && option.title && features && !features.find((x) => x.id === option.id)) {
|
|
191
191
|
features.push(option);
|
|
192
192
|
}
|
|
193
193
|
});
|