@griddo/cx 1.75.148 → 1.75.150

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@griddo/cx",
3
3
  "description": "Griddo SSG based on Gatsby",
4
- "version": "1.75.148",
4
+ "version": "1.75.150",
5
5
  "authors": [
6
6
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
7
7
  "Carlos Torres <carlos.torres@secuoyas.com>",
@@ -66,7 +66,7 @@
66
66
  "react-helmet": "^6.0.0"
67
67
  },
68
68
  "devDependencies": {
69
- "@griddo/eslint-config-back": "^1.75.148",
69
+ "@griddo/eslint-config-back": "^1.75.150",
70
70
  "eslint": "^7.5.0",
71
71
  "eslint-plugin-node": "^11.1.0",
72
72
  "eslint-plugin-react": "7.14.3",
@@ -98,5 +98,5 @@
98
98
  "publishConfig": {
99
99
  "access": "public"
100
100
  },
101
- "gitHead": "f095951976b1050137ae9a726789afe1b63230d1"
101
+ "gitHead": "9f49513708f3cbeb66ebfd788975f6175bd2d462"
102
102
  }
@@ -53,7 +53,7 @@ class DistributorService {
53
53
  if (!JSON.stringify(template).includes('"hasDistributorData":true'))
54
54
  return;
55
55
  for (let key in template) {
56
- if (key === 'queriedItems' || key === 'queriedData') continue;
56
+ if (key === 'queriedItems') continue;
57
57
  const component = template[key];
58
58
  if (!component || typeof component !== 'object') continue;
59
59
  if (component.hasDistributorData) {
@@ -62,7 +62,6 @@ class DistributorService {
62
62
  component,
63
63
  cached,
64
64
  });
65
- component.queriedData = component.queriedItems;
66
65
  }
67
66
 
68
67
  await checkDistributors(component, level + 1);
@@ -168,7 +168,6 @@ async function renderListPages(
168
168
  // component.
169
169
  baseLink: `${domainUrl}${compose}`,
170
170
  queriedItems: dataInPage,
171
- queriedData: dataInPage,
172
171
  totalQueriedItems: totalQueriedItems?.length,
173
172
  },
174
173
  isRoot,