gatsby-core-theme 44.16.1 → 44.16.3

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.3](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.16.2...v44.16.3) (2026-03-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add status data to the game object ([42f0156](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/42f0156a987d6299f91ac7f40b5132b6560a5cbc))
7
+
8
+ ## [44.16.2](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.16.1...v44.16.2) (2026-02-27)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * handle missing ribbon_ids in toplist item processing ([8efbc0a](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/8efbc0ae038938ad02ea3a21705b3b63aaa8fa71))
14
+
15
+
16
+ ### Config
17
+
18
+ * use live env ([2f80efe](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/2f80efede9f826ffd046080c0924ca1f7ed8e727))
19
+
1
20
  ## [44.16.1](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.16.0...v44.16.1) (2026-02-27)
2
21
 
3
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "44.16.1",
3
+ "version": "44.16.3",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -181,8 +181,8 @@ export const pickRelationKeys = {
181
181
  "game_categories",
182
182
  'maximum_bet',
183
183
  "game_themes",
184
- 'jackpot'
185
-
184
+ 'jackpot',
185
+ "status"
186
186
  ],
187
187
  software_provider: [
188
188
  "logo_filename_object",
@@ -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