feat(SW-312): fix "2-for-1-breakfast" only unlocked for level 5
This commit is contained in:
@@ -30,7 +30,7 @@ export type CardsGridProps = Pick<CardsGrid, "cards_grid"> & {
|
||||
|
||||
export type Content = { content: RteBlockContent["content"]["content"] }
|
||||
|
||||
type Benefit = { title: string }
|
||||
type BenefitTitle = { title: string }
|
||||
|
||||
export type OverviewTableProps = { activeMembership: MembershipLevel | null }
|
||||
|
||||
@@ -39,7 +39,7 @@ export type Level = {
|
||||
name: string
|
||||
requiredPoints: number
|
||||
requiredNights?: number
|
||||
benefits: Benefit[]
|
||||
benefits: BenefitTitle[]
|
||||
}
|
||||
|
||||
export type LevelCardProps = {
|
||||
@@ -54,15 +54,15 @@ export type ComparisonLevel = {
|
||||
description: string
|
||||
requirement: string
|
||||
icon: string
|
||||
benefits: [
|
||||
{
|
||||
name: string
|
||||
description: string
|
||||
unlocked: boolean
|
||||
value?: string
|
||||
valueDetails?: string
|
||||
},
|
||||
]
|
||||
benefits: Benefit[]
|
||||
}
|
||||
|
||||
export type Benefit = {
|
||||
name: string
|
||||
description: string
|
||||
unlocked: boolean
|
||||
value?: string
|
||||
valueDetails?: string
|
||||
}
|
||||
|
||||
export type LevelSummaryProps = {
|
||||
|
||||
Reference in New Issue
Block a user