gatsby-core-theme 22.0.6 → 22.0.7

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/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [22.0.7](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v22.0.6...v22.0.7) (2023-06-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * preview function for game pages ([6e3f223](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/6e3f2235f4d4cfa2180febe7f74cf0ea2607221a))
7
+ * preview function for game pages ([dd5bcfa](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/dd5bcfa6af132492935f42623337a07048951f13))
8
+
1
9
  ## [22.0.6](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v22.0.5...v22.0.6) (2023-05-31)
2
10
 
3
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "22.0.6",
3
+ "version": "22.0.7",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "main": "index.js",
6
6
  "GATSBY_RECAPTCHA_SITEKEY": "6LfoyvMUAAAAAO4nl_MQnqHb4XdHxEiu5cXgIqeB",
@@ -37,7 +37,7 @@ export const processRelations = (page, pageType, transformedPages, market, data,
37
37
  break;
38
38
  // Add path for game page from game provider
39
39
  case 'game':
40
- if (hasRelation) {
40
+ if (hasRelation && transformedPages[market][pageType][index].relation) {
41
41
  const providerId = transformedPages[market][pageType][index].relation.game_provider.id;
42
42
  const providerPage = transformedPages[market].software_provider
43
43
  ? transformedPages[market].software_provider.filter(