gatsby-core-theme 18.0.13 → 18.0.14

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,13 @@
1
+ ## [18.0.14](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v18.0.13...v18.0.14) (2023-02-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * sports data for operator type pages ([4c45f22](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/4c45f22345481b7f48c4e6b72fbc0c7f967de363))
7
+
8
+
9
+ * Merge branch 'master' of git.ilcd.rocks:team-floyd/themes/gatsby-themes ([58ef78c](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/58ef78c0a0d40f9711fc6db294bc62071f4d7925))
10
+
1
11
  ## [18.0.13](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v18.0.12...v18.0.13) (2023-02-16)
2
12
 
3
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "18.0.13",
3
+ "version": "18.0.14",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "main": "index.js",
6
6
  "GATSBY_RECAPTCHA_SITEKEY": "6LfoyvMUAAAAAO4nl_MQnqHb4XdHxEiu5cXgIqeB",
@@ -8,6 +8,7 @@ export default {
8
8
  'Irishluck.ie': ['cards', 'cards_v2'],
9
9
  'norskespilleautomater.com': ['cards', 'cards_v2'],
10
10
  'playcasino.co.za': ['cards', 'cards_v2'],
11
+ 'sporttheme.com': ['cards', 'cards_v2'],
11
12
  },
12
13
  filter_cards_modules: {
13
14
  'irishluck.ie': ['inactive', 'blacklisted'],
@@ -15,6 +16,7 @@ export default {
15
16
  'playcasino.co.za': ['inactive', 'blacklisted'],
16
17
  'onlinegamblingsa.co.za': ['inactive', 'blacklisted'],
17
18
  'onlinegamblingsa.com': ['inactive', 'blacklisted'],
19
+ 'sporttheme.com': ['inactive', 'blacklisted'],
18
20
  },
19
21
  keep_page_extra_fields: {
20
22
  operator: {
@@ -311,7 +311,9 @@ export default {
311
311
  // add sports data
312
312
  if (rageSportType) {
313
313
  // should be able to check for site type here (type: sport)
314
- page.relation = addSportsDataToPage(sportsData, page, themeType);
314
+ if (page.type !== 'operator') {
315
+ page.relation = addSportsDataToPage(sportsData, page, themeType);
316
+ }
315
317
 
316
318
  if (pageType === 'page' && page.relation.showcased_events) {
317
319
  const eventPages = Object.values(transformedPages[market].event);