fix(BOOK-663): Added scroll false to info card buttons on hotel pages

Approved-by: Bianca Widstam
This commit is contained in:
Erik Tiekstra
2026-01-28 13:04:01 +00:00
parent d193bf057d
commit 1f8b2c8c14
2 changed files with 3 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ export async function Facilities({
heading={facility.heading}
secondaryButton={{
href: facility.sidepeekHref,
scrollOnClick: false,
text: intl.formatMessage({
id: "common.readMore",
defaultMessage: "Read more",

View File

@@ -131,11 +131,13 @@ export function mapActivityCardsToInfoCards(
}
mappedCard.primaryButton = {
href: `?s=${card.sidepeekSlug}`,
scrollOnClick: false,
text: card.ctaText,
}
} else {
mappedCard.secondaryButton = {
href: `?s=${card.sidepeekSlug}`,
scrollOnClick: false,
text: card.ctaText,
}
}