ublo-lib 1.21.2 → 1.21.3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pois.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/lumiplan/pois.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,OAAO,KAAK,EAAyB,QAAQ,EAAQ,MAAM,SAAS,CAAC;AAwDrE,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CACxB,CAAC;AASF,QAAA,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"pois.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/lumiplan/pois.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,OAAO,KAAK,EAAyB,QAAQ,EAAQ,MAAM,SAAS,CAAC;AAwDrE,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CACxB,CAAC;AASF,QAAA,MAAM,IAAI,8EAgLR,CAAC;AAIH,eAAe,IAAI,CAAC"}
|
|
@@ -107,26 +107,10 @@ const Pois = React.forwardRef(({ pois }, ref) => {
|
|
|
107
107
|
? `(${t(lang, `pois.trailLevels.${trailLevel}`)})`
|
|
108
108
|
: null;
|
|
109
109
|
const specialTrail = Object.keys(SPECIAL_TRAILS).find((key) => name.includes(key));
|
|
110
|
-
// TMP
|
|
111
|
-
const isEven = Number(id) % 2 === 0;
|
|
112
|
-
const mockMessage = {
|
|
113
|
-
id: "mock",
|
|
114
|
-
type: "TEXT",
|
|
115
|
-
title: "messagePoi",
|
|
116
|
-
data: [
|
|
117
|
-
{
|
|
118
|
-
language: "fr_FR",
|
|
119
|
-
data: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
|
120
|
-
},
|
|
121
|
-
],
|
|
122
|
-
};
|
|
123
|
-
// TMP
|
|
124
110
|
const message = messagePoi?.data?.find(({ language }) => {
|
|
125
111
|
const _lang = lang === "fr" ? "fr_FR" : "en_US";
|
|
126
112
|
return language === _lang;
|
|
127
|
-
})
|
|
128
|
-
? mockMessage.data[0]
|
|
129
|
-
: undefined;
|
|
113
|
+
});
|
|
130
114
|
const hasGroomingStatus = groomingStatus !== undefined && groomingStatus !== "UNDEF";
|
|
131
115
|
const hasSnowQuality = snowQuality !== undefined && snowQuality !== "UNDEF";
|
|
132
116
|
const classes = classNames(css.poi, {
|