@getlupa/client 0.12.2 → 0.12.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.
@@ -35581,7 +35581,9 @@ let SearchResultsProductCard = class SearchResultsProductCard extends Vue$1 {
35581
35581
  }
35582
35582
  getGroupElements(group) {
35583
35583
  var _a, _b;
35584
- return (_b = (_a = this.options.elements) === null || _a === void 0 ? void 0 : _a.filter((e) => e.group === group)) !== null && _b !== void 0 ? _b : [];
35584
+ return [
35585
+ ...new Set((_b = (_a = this.options.elements) === null || _a === void 0 ? void 0 : _a.filter((e) => e.group === group)) !== null && _b !== void 0 ? _b : []),
35586
+ ];
35585
35587
  }
35586
35588
  mounted() {
35587
35589
  this.checkIfIsInStock();
@@ -35577,7 +35577,9 @@ let SearchResultsProductCard = class SearchResultsProductCard extends Vue$1 {
35577
35577
  }
35578
35578
  getGroupElements(group) {
35579
35579
  var _a, _b;
35580
- return (_b = (_a = this.options.elements) === null || _a === void 0 ? void 0 : _a.filter((e) => e.group === group)) !== null && _b !== void 0 ? _b : [];
35580
+ return [
35581
+ ...new Set((_b = (_a = this.options.elements) === null || _a === void 0 ? void 0 : _a.filter((e) => e.group === group)) !== null && _b !== void 0 ? _b : []),
35582
+ ];
35581
35583
  }
35582
35584
  mounted() {
35583
35585
  this.checkIfIsInStock();