gatsby-core-theme 44.13.1 → 44.13.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.13.2](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.13.1...v44.13.2) (2026-02-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update removeUnwantedSections function ([c2c4e35](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/c2c4e3592bfd9f7701ed9189a5252eb6d2206489))
7
+
8
+
9
+ * Merge branch 'en-360-search' into 'master' ([0b1fc19](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/0b1fc1916c148930195ffbee900ec9369023516d))
10
+
1
11
  ## [44.13.1](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.13.0...v44.13.1) (2026-02-02)
2
12
 
3
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "44.13.1",
3
+ "version": "44.13.2",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -4,6 +4,7 @@ import { pickPageKeys, pickRelationKeys } from '../constants/pick-keys.mjs';
4
4
  import settings from '../constants/settings.mjs';
5
5
  // eslint-disable-next-line import/no-cycle
6
6
  import { processExtraFields } from './index.mjs';
7
+ import { mainSettings } from '../constants/site-settings/main.mjs';
7
8
 
8
9
  const { pick } = loadash;
9
10
 
@@ -141,7 +142,7 @@ export function clean(object) {
141
142
  }
142
143
 
143
144
  export function removeUnwantedSections(obj, pageType, ribbonsData) {
144
-
145
+ const limit = mainSettings?.default?.recommended_casinos_limit || 3;
145
146
  const marketSection = {
146
147
  games: ["post_main_games"],
147
148
  operator: [
@@ -183,7 +184,7 @@ export function removeUnwantedSections(obj, pageType, ribbonsData) {
183
184
  ) {
184
185
  acc[key].modules[0].items[0].items = acc[
185
186
  key
186
- ].modules[0].items[0].items.slice(0, 3);
187
+ ].modules[0].items[0].items.slice(0, limit);
187
188
  const { items } = acc[key].modules[0].items[0];
188
189
 
189
190
  // Connect ribbons ID to label