kupos-ui-components-lib 4.0.9 → 4.0.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.
|
@@ -566,10 +566,8 @@ function ServiceItemPB({ serviceItem, onBookButtonPress, colors, metaData, child
|
|
|
566
566
|
} }, metaData &&
|
|
567
567
|
((_g = serviceItem.operator_details[4]) === null || _g === void 0 ? void 0 : _g.map((val, key) => {
|
|
568
568
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
];
|
|
572
|
-
return exceptions.includes(key) ? null : key >= 3 &&
|
|
569
|
+
// Show all amenities with index 3 or higher, excluding WATER
|
|
570
|
+
return key >= 3 &&
|
|
573
571
|
((_b = (_a = metaData.amenities[val]) === null || _a === void 0 ? void 0 : _a.split(".")[0]) === null || _b === void 0 ? void 0 : _b.toUpperCase()) !== "WATER" ? (React.createElement("div", { key: key, className: "flex items-center gap-[5px] whitespace-nowrap text-[13.33px]" },
|
|
574
572
|
React.createElement("div", { className: `${isSoldOut ? "grayscale" : ""}` },
|
|
575
573
|
React.createElement(SvgAmenities, { moreAnemities: true, name: (_d = (_c = metaData.amenities[val]) === null || _c === void 0 ? void 0 : _c.split(".")[0]) === null || _d === void 0 ? void 0 : _d.toUpperCase(), color: "white" })),
|
package/package.json
CHANGED
|
@@ -1176,12 +1176,8 @@ function ServiceItemPB({
|
|
|
1176
1176
|
{metaData &&
|
|
1177
1177
|
serviceItem.operator_details[4]?.map(
|
|
1178
1178
|
(val, key) => {
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
];
|
|
1182
|
-
return exceptions.includes(
|
|
1183
|
-
key
|
|
1184
|
-
) ? null : key >= 3 &&
|
|
1179
|
+
// Show all amenities with index 3 or higher, excluding WATER
|
|
1180
|
+
return key >= 3 &&
|
|
1185
1181
|
metaData.amenities[val]
|
|
1186
1182
|
?.split(".")[0]
|
|
1187
1183
|
?.toUpperCase() !== "WATER" ? (
|