gatsby-core-theme 44.30.4 → 44.30.6

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,24 @@
1
+ ## [44.30.6](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.30.5...v44.30.6) (2026-06-29)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * remove unecessary log ([c0be286](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/c0be28654f745f370c1bad9a3aab2bf933761674))
7
+ * update operator resolver to solve ribbons on bonus module even when ribbon doesn't exist on site data ([4b46d1a](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/4b46d1ac1c97f61236034eed30f344adde607ac2))
8
+
9
+
10
+ * Merge branch 'en-573-ribbon-on-bonus-module' into 'master' ([46e0789](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/46e078909fdd3485526856c1fcf3fd1edde69381))
11
+
12
+ ## [44.30.5](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.30.4...v44.30.5) (2026-06-26)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * make helptext editable ([5906362](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/59063626f3ffcfc4a659016be50bafbfcd73effc))
18
+
19
+
20
+ * Merge branch 'en-571-footer-text-editable' into 'master' ([272cec1](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/272cec104837e1b5497d25c8e87d90e3a35cad65))
21
+
1
22
  ## [44.30.4](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.30.3...v44.30.4) (2026-06-26)
2
23
 
3
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "44.30.4",
3
+ "version": "44.30.6",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -91,7 +91,7 @@ const Footer = (props) => {
91
91
  dmcaWidth: 100,
92
92
  dmcaHeight: 30,
93
93
  securityIcon: <Security />,
94
- helpText,
94
+ helpText: getExtraField(section?.extra_fields, "help_text") || helpText,
95
95
  phoneNum: helpline(),
96
96
  copyrightCustomText: getExtraField(section?.extra_fields, "copyright_text"),
97
97
  };
@@ -42,21 +42,30 @@ export function sanitizeOperatorData(
42
42
  }
43
43
  });
44
44
 
45
-  //Set ribbons per bonus type
46
- Object.entries(operatorClone.bonuses).forEach((item) =>{
47
-       operatorClone.bonuses[item[0]].ribbons = operator?.bonuses[item[0]]?.ribbon_ids?.map(res =>{
48
-         return data.ribbons[res]?.label})
49
-     })
45
+ // Set ribbons per bonus type
46
+
47
+ Object.entries(operatorClone.bonuses).forEach((item) => {
48
+ operatorClone.bonuses[item[0]].ribbons = operator?.bonuses[
49
+ item[0]
50
+ ]?.ribbon_ids?.map((res) => data.ribbons[res]?.label);
51
+ });
50
52
 
51
53
  // filter out null ribbons
52
54
  operatorClone.ribbons = ribbons.filter((n) => n);
53
55
  }
54
56
 
57
+ if (operatorClone.bonuses && data?.ribbons) {
58
+ Object.entries(operatorClone.bonuses).forEach(([key]) => {
59
+ operatorClone.bonuses[key].ribbons =
60
+ operator?.bonuses?.[key]?.ribbon_ids?.map((res) => data.ribbons?.[res]?.label) || [];
61
+ });
62
+ }
63
+
55
64
  if (operatorPage.length > 0 && operatorPage[0]?.extra_fields) {
56
65
  operatorClone.reviewSummery = getExtraField(
57
66
  operatorPage[0]?.extra_fields,
58
67
  "operator_review_summary",
59
- null
68
+ null,
60
69
  );
61
70
  }
62
71
 
@@ -80,7 +89,7 @@ export function sanitizeOperatorData(
80
89
  operatorClone,
81
90
  toplistLabel && toplistLabel.includes("simplified")
82
91
  ? pickRelationKeys.operator_simplified
83
- : pickRelationKeys.operator
92
+ : pickRelationKeys.operator,
84
93
  );
85
94
  }
86
95