gatsby-core-theme 44.25.0 → 44.25.1
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 +11 -0
- package/package.json +1 -1
- package/src/resolver/index.mjs +16 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
## [44.25.1](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.25.0...v44.25.1) (2026-06-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* remove unecessary comment ([c76703d](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/c76703ddeb4f8631e5ac196aef1b72ac57576c00))
|
|
7
|
+
* update the logic of cards in similar to sesction to be filtered based on the template id ([97ab17f](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/97ab17f553844e6beb76eb6ea6a0d25e5194afb7))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
* Merge branch 'en-530-similar-to-section' into 'master' ([4a5f3f7](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/4a5f3f7c3b93ce2261cc5c6408b3224fa7accc10))
|
|
11
|
+
|
|
1
12
|
# [44.25.0](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.24.2...v44.25.0) (2026-05-20)
|
|
2
13
|
|
|
3
14
|
|
package/package.json
CHANGED
package/src/resolver/index.mjs
CHANGED
|
@@ -622,6 +622,22 @@ export default {
|
|
|
622
622
|
return;
|
|
623
623
|
}
|
|
624
624
|
|
|
625
|
+
if (
|
|
626
|
+
item.name === "cards_v2" &&
|
|
627
|
+
item.cards_selector === "use_filters"
|
|
628
|
+
) {
|
|
629
|
+
const moduleTemplateId = String(item.cards_page_type_id);
|
|
630
|
+
const currentTemplateId = String(page.template_id);
|
|
631
|
+
|
|
632
|
+
if (
|
|
633
|
+
moduleTemplateId &&
|
|
634
|
+
currentTemplateId &&
|
|
635
|
+
moduleTemplateId !== currentTemplateId
|
|
636
|
+
) {
|
|
637
|
+
return;
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
|
|
625
641
|
if (
|
|
626
642
|
item.value_type ===
|
|
627
643
|
ModuleValue.VALUE_TYPE_PREFILLED_MODULE_MARKET
|