Merged in feat/SW-2505-alternative-hotels-link (pull request #2080)
fix(SW-2505): alternative hotels link * fix(SW-2505): handle no chosen room Approved-by: Bianca Widstam
This commit is contained in:
@@ -29,7 +29,7 @@ export default function NoAvailabilityAlert() {
|
||||
)
|
||||
|
||||
const alertLink =
|
||||
selectedRooms[activeRoom].selectedPackages.length === 0
|
||||
activeRoom !== -1 && selectedRooms[activeRoom].selectedPackages.length === 0
|
||||
? {
|
||||
title: intl.formatMessage({
|
||||
defaultMessage: "See alternative hotels",
|
||||
|
||||
Reference in New Issue
Block a user