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} heading={facility.heading}
secondaryButton={{ secondaryButton={{
href: facility.sidepeekHref, href: facility.sidepeekHref,
scrollOnClick: false,
text: intl.formatMessage({ text: intl.formatMessage({
id: "common.readMore", id: "common.readMore",
defaultMessage: "Read more", defaultMessage: "Read more",

View File

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