fix(BOOK-506): Hiding campaign banner on more hotel-reservation routes and make whole banner clickable
Approved-by: Bianca Widstam
This commit is contained in:
@@ -22,7 +22,7 @@ export function shouldShowCampaignBanner(
|
||||
const fullRoute = removeTrailingSlash(
|
||||
removeMultipleSlashes(`/${lang}${route}`)
|
||||
)
|
||||
return cleanPathname === fullRoute
|
||||
return cleanPathname.startsWith(fullRoute)
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user