Merged in fix/SW-3117-filter-default-zero (pull request #2464)

fix(SW-3117): default filter count on mobile number of hotels

* fix(SW-3117): default filter should be hotel count


Approved-by: Tobias Johansson
This commit is contained in:
Bianca Widstam
2025-06-27 13:07:01 +00:00
parent 4755225bcc
commit fe75018a46
2 changed files with 3 additions and 3 deletions

View File

@@ -102,7 +102,7 @@ export default function HotelCardListing({
}, [activeHotel, type])
useEffect(() => {
setResultCount(hotels.length, unfilteredHotelCount)
setResultCount(hotels.length, unfilteredHotelCount ?? hotels.length)
}, [hotels, setResultCount, unfilteredHotelCount])
function isHotelActiveInMapView(hotelName: string): boolean {