Merged in fix/SW-2601-incorrect-availability-alert (pull request #1940)
fix: update condition when to display NoAvailabilityAlert when using booking code * fix: update condition when to display NoAvailabilityAlert when using booking code Approved-by: Michael Zetterberg Approved-by: Arvid Norlin
This commit is contained in:
@@ -18,7 +18,7 @@ export default async function NoAvailabilityAlert({
|
||||
const intl = await getIntl()
|
||||
const lang = getLang()
|
||||
|
||||
if (isBookingCodeRateNotAvailable) {
|
||||
if (bookingCode && isBookingCodeRateNotAvailable) {
|
||||
const bookingCodeText = intl.formatMessage(
|
||||
{
|
||||
defaultMessage:
|
||||
|
||||
Reference in New Issue
Block a user