rerobe-js-orm 2.4.74 → 2.4.75
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.
|
@@ -523,8 +523,7 @@ class ProductFormState extends FormState_1.default {
|
|
|
523
523
|
if (fieldKey === 'featuredCollections') {
|
|
524
524
|
if (this.opts && this.opts.featuredCollectionOpts && this.opts.featuredCollectionOpts.length > 0) {
|
|
525
525
|
options = this.utilities
|
|
526
|
-
.uniqObjArray([...options, ...this.opts.featuredCollectionOpts.map((o) => ({ label: o.label, value: o.value }))], 'value')
|
|
527
|
-
.filter((o) => { var _a; return !((_a = this.props.featuredCollections) === null || _a === void 0 ? void 0 : _a.includes(o.value)); });
|
|
526
|
+
.uniqObjArray([...options, ...this.opts.featuredCollectionOpts.map((o) => ({ label: o.label, value: o.value }))], 'value');
|
|
528
527
|
}
|
|
529
528
|
}
|
|
530
529
|
if (fieldKey === 'clothingSize') {
|