diff --git a/components/ContentType/HotelPage/Rooms/index.tsx b/components/ContentType/HotelPage/Rooms/index.tsx index df1ce7b31..644bc93b6 100644 --- a/components/ContentType/HotelPage/Rooms/index.tsx +++ b/components/ContentType/HotelPage/Rooms/index.tsx @@ -17,7 +17,7 @@ import { HotelHashValues } from "@/types/components/hotelPage/tabNavigation" export function Rooms({ rooms }: RoomsProps) { const intl = useIntl() - const showToggleButton = rooms.length > 5 + const showToggleButton = rooms.length > 6 const [allRoomsVisible, setAllRoomsVisible] = useState(!showToggleButton) const scrollRef = useRef(null) diff --git a/server/routers/hotels/query.ts b/server/routers/hotels/query.ts index d22adb43c..1839f26a5 100644 --- a/server/routers/hotels/query.ts +++ b/server/routers/hotels/query.ts @@ -91,7 +91,7 @@ async function getContentstackData(lang: Lang, uid?: string | null) { getHotelPageCounter.add(1, { lang, uid }) console.info( - "contentstack.contentPage start", + "contentstack.hotelPage start", JSON.stringify({ query: { lang, uid }, })