@griddo/cx 1.75.171 → 1.75.172
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 +3 -3
- package/src/utils/sites.js +4 -1
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.
|
|
4
|
+
"version": "1.75.172",
|
|
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.
|
|
69
|
+
"@griddo/eslint-config-back": "^1.75.172",
|
|
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": "
|
|
101
|
+
"gitHead": "71a14caa18903f906afbfa3aa3b9de4a37a0b42b"
|
|
102
102
|
}
|
package/src/utils/sites.js
CHANGED
|
@@ -80,7 +80,10 @@ const getSiteData = async (siteID, cached) => {
|
|
|
80
80
|
const socials = await SitesService.getSocials(siteID, cached);
|
|
81
81
|
const siteLangsInfo = siteLangs.items;
|
|
82
82
|
const defaultLang = siteLangsInfo.find(lang => lang.isDefault);
|
|
83
|
-
|
|
83
|
+
|
|
84
|
+
// eliminado para validar que efectivamente no rompe nada
|
|
85
|
+
// si el cambio es correcto, hay que eliminar las 7 líneas que contienen "sitePages"
|
|
86
|
+
const sitePages = []; // await SitesService.getPages(siteID, cached);
|
|
84
87
|
|
|
85
88
|
const { siteHash, unpublishHashes, publishIds } = buildData;
|
|
86
89
|
const { headers, footers } = siteInfo;
|