ublo-lib 1.36.8 → 1.36.10

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.
@@ -49,7 +49,7 @@ export default function LoyalCustomers({ lang, cmsMode, selectors, levels, class
49
49
  }, [selectors, convertTableToSelect]);
50
50
  React.useEffect(() => {
51
51
  const products = Array.from(document.querySelectorAll(selectors.block));
52
- if (cmsMode !== "editing" && products.length) {
52
+ if (!cmsMode && products.length) {
53
53
  products.forEach(init);
54
54
  return () => products.forEach(cleanup);
55
55
  }
@@ -49,7 +49,14 @@ export default function SearchInput({ lang, text, setText, closeSearch, loading,
49
49
  }
50
50
  function getSuggestions(suggestions = {}) {
51
51
  return {
52
- fr: ["forfait", "météo", "pistes", "VTT"],
52
+ fr: [
53
+ "forfait",
54
+ "météo",
55
+ "hébergements",
56
+ "VTT",
57
+ "luge d'été",
58
+ "Quel temps fait-il au sommet ?",
59
+ ],
53
60
  en: ["ski pass"],
54
61
  ...suggestions,
55
62
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.36.8",
3
+ "version": "1.36.10",
4
4
  "peerDependencies": {
5
5
  "dt-design-system": "^3.9.9",
6
6
  "leaflet": "^1.9.1",