Merged in feat/sw-3587-add-partner-copy-for-member-price (pull request #3053)
feat(SW-3587): Add new member price copy to partner variants * Add new member price copy to partner variants Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -106,6 +106,7 @@ export type HotelCardProps = {
|
||||
state?: 'default' | 'active'
|
||||
bookingCode?: string | null
|
||||
isAlternative?: boolean
|
||||
isPartnerBrand: boolean
|
||||
pointsCurrency?: CurrencyEnum
|
||||
fullPrice: boolean
|
||||
isCampaignWithBookingCode: boolean
|
||||
@@ -128,6 +129,7 @@ export const HotelCard = memo(
|
||||
type = 'pageListing',
|
||||
bookingCode = '',
|
||||
isAlternative,
|
||||
isPartnerBrand,
|
||||
pointsCurrency,
|
||||
images,
|
||||
lang,
|
||||
@@ -288,6 +290,7 @@ export const HotelCard = memo(
|
||||
prices?.public && (
|
||||
<HotelPriceCard
|
||||
productTypePrices={prices.public}
|
||||
isPartnerBrand={isPartnerBrand}
|
||||
className={styles.priceCard}
|
||||
isCampaign={isCampaign}
|
||||
/>
|
||||
@@ -295,6 +298,7 @@ export const HotelCard = memo(
|
||||
{prices.member && (
|
||||
<HotelPriceCard
|
||||
productTypePrices={prices.member}
|
||||
isPartnerBrand={isPartnerBrand}
|
||||
className={styles.priceCard}
|
||||
isMemberPrice
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user