@getlupa/client 0.12.2 → 0.12.4

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.
@@ -35577,7 +35577,9 @@ let SearchResultsProductCard = class SearchResultsProductCard extends Vue$1 {
35577
35577
  }
35578
35578
  get elementGroups() {
35579
35579
  var _a;
35580
- return (_a = this.options.elements) === null || _a === void 0 ? void 0 : _a.map((e) => e.group).filter((g) => Boolean(g));
35580
+ return [
35581
+ ...new Set((_a = this.options.elements) === null || _a === void 0 ? void 0 : _a.map((e) => e.group).filter((g) => Boolean(g))),
35582
+ ];
35581
35583
  }
35582
35584
  getGroupElements(group) {
35583
35585
  var _a, _b;
@@ -35573,7 +35573,9 @@ let SearchResultsProductCard = class SearchResultsProductCard extends Vue$1 {
35573
35573
  }
35574
35574
  get elementGroups() {
35575
35575
  var _a;
35576
- return (_a = this.options.elements) === null || _a === void 0 ? void 0 : _a.map((e) => e.group).filter((g) => Boolean(g));
35576
+ return [
35577
+ ...new Set((_a = this.options.elements) === null || _a === void 0 ? void 0 : _a.map((e) => e.group).filter((g) => Boolean(g))),
35578
+ ];
35577
35579
  }
35578
35580
  getGroupElements(group) {
35579
35581
  var _a, _b;