gatsby-core-theme 44.19.1 → 44.19.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,13 @@
1
+ ## [44.19.2](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.19.1...v44.19.2) (2026-04-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * filter inactive games for cardv2 module ([78bf136](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/78bf136f799fe9350a662bfd272a3305fe0ba194))
7
+
8
+
9
+ * Merge branch 'EN-453' into 'master' ([330a3d5](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/330a3d5c7fa5d3c537d8c24e841ccb2cb797c604))
10
+
1
11
  ## [44.19.1](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.19.0...v44.19.1) (2026-03-31)
2
12
 
3
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "44.19.1",
3
+ "version": "44.19.2",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -325,6 +325,13 @@ export function processCardsV2(
325
325
  module.module_title = getModuleTitle(module, pagesMappedById[pageId]);
326
326
  }
327
327
 
328
+ // filter out inactive game items
329
+ if (cardType === "game") {
330
+ module.items = module.items.filter(
331
+ (item) => item?.relation?.status !== "inactive"
332
+ );
333
+ }
334
+
328
335
  // modify page so it doesn't have too much data
329
336
  module.items = module.items.map((item) =>
330
337
  clonePageForCards(cloneDeep(item), module.style, content)