From e52391f120829d9fcc072e89b72b0297e5f7576e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matilda=20Landstr=C3=B6m?= Date: Wed, 16 Oct 2024 10:02:54 +0200 Subject: [PATCH] fix(SW-194): small fixes --- components/ContentType/HotelPage/Rooms/index.tsx | 2 +- server/routers/hotels/query.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }, })