@gem-sdk/components 2.4.1 → 2.4.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/dist/cjs/collection/components/CollectionPaginator.liquid.js +2 -2
- package/dist/cjs/third-party/setting/RequestQuoteHidePrice.js +2 -1
- package/dist/esm/collection/components/CollectionPaginator.liquid.js +2 -2
- package/dist/esm/third-party/setting/RequestQuoteHidePrice.js +2 -1
- package/package.json +1 -1
|
@@ -58,8 +58,8 @@ const CollectionPaginator = ({ setting, builderProps, pageContext })=>{
|
|
|
58
58
|
>
|
|
59
59
|
<div class="gf_collection-paginator-wrapper gp-inline-flex gp-flex-wrap">
|
|
60
60
|
{% paginate collection.products by ${limit} %}
|
|
61
|
-
{% assign previousText = ${pageContext?.isPreviewing ? `${previousTextVal}` : previousTextVal} %}
|
|
62
|
-
{% assign nextText = ${pageContext?.isPreviewing ? `${nextTextVal}` : nextTextVal} %}
|
|
61
|
+
{% assign previousText = ${pageContext?.isPreviewing ? `${previousTextVal}` : previousTextVal || `""`} %}
|
|
62
|
+
{% assign nextText = ${pageContext?.isPreviewing ? `${nextTextVal}` : nextTextVal || `""`} %}
|
|
63
63
|
{{ paginate | default_pagination: previous: previousText, next: nextText }}
|
|
64
64
|
{% endpaginate %}
|
|
65
65
|
</div>
|
|
@@ -54,8 +54,8 @@ const CollectionPaginator = ({ setting, builderProps, pageContext })=>{
|
|
|
54
54
|
>
|
|
55
55
|
<div class="gf_collection-paginator-wrapper gp-inline-flex gp-flex-wrap">
|
|
56
56
|
{% paginate collection.products by ${limit} %}
|
|
57
|
-
{% assign previousText = ${pageContext?.isPreviewing ? `${previousTextVal}` : previousTextVal} %}
|
|
58
|
-
{% assign nextText = ${pageContext?.isPreviewing ? `${nextTextVal}` : nextTextVal} %}
|
|
57
|
+
{% assign previousText = ${pageContext?.isPreviewing ? `${previousTextVal}` : previousTextVal || `""`} %}
|
|
58
|
+
{% assign nextText = ${pageContext?.isPreviewing ? `${nextTextVal}` : nextTextVal || `""`} %}
|
|
59
59
|
{{ paginate | default_pagination: previous: previousText, next: nextText }}
|
|
60
60
|
{% endpaginate %}
|
|
61
61
|
</div>
|