gatsby-core-theme 44.16.0 → 44.16.2

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,22 @@
1
+ ## [44.16.2](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.16.1...v44.16.2) (2026-02-27)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * handle missing ribbon_ids in toplist item processing ([8efbc0a](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/8efbc0ae038938ad02ea3a21705b3b63aaa8fa71))
7
+
8
+
9
+ ### Config
10
+
11
+ * use live env ([2f80efe](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/2f80efede9f826ffd046080c0924ca1f7ed8e727))
12
+
13
+ ## [44.16.1](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.16.0...v44.16.1) (2026-02-27)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * revert changes for translation for metutimao ([53891fd](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/53891fd3eab139430f02e8ce5109520436260189))
19
+
1
20
  # [44.16.0](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.15.3...v44.16.0) (2026-02-26)
2
21
 
3
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "44.16.0",
3
+ "version": "44.16.2",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -3,10 +3,6 @@ export default {
3
3
  'casino': ['type', "[cassino]"],
4
4
  'sportsbook': ['type', "[esportes]"],
5
5
  },
6
- 'meutimao.com.br': {
7
- 'casino': ['type', "[cassino]"],
8
- 'sportsbook': ['type', "[esportes]"],
9
- },
10
6
  default: {
11
7
  casino: ['type,', ''],
12
8
  },
@@ -25,11 +25,14 @@ export function processToplistItem(item, itemRelation, itemPages, ctx) {
25
25
  return null;
26
26
  }
27
27
 
28
- itemRelation.ribbons =
29
- item.ribbon_ids && item.ribbon_ids.length === 0
30
- ? itemRelation.ribbons
31
- : item.ribbon_ids;
28
+ const getRibbons = () => {
29
+ if (item.ribbon_ids && item.ribbon_ids?.length === 0)
30
+ return itemRelation.ribbons;
31
+ if (item.ribbon_ids) return item.ribbon_ids;
32
+ return itemRelation.ribbons;
33
+ };
32
34
 
35
+ itemRelation.ribbons = getRibbons();
33
36
  itemRelation.selling_points =
34
37
  item.selling_points && item.selling_points.length === 0
35
38
  ? itemRelation.selling_points
@@ -107,7 +110,6 @@ export function processOperatorToplist(item, ctx) {
107
110
  page.relation?.type === operatorRelation.type
108
111
  )
109
112
  : [];
110
-
111
113
  return processToplistItem(item, operatorRelation, operatorPage, ctx);
112
114
  }
113
115