fix(BOOK-663): Added scroll false to info card buttons on hotel pages
Approved-by: Bianca Widstam
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user