feat(SW-495): set scripted top title as optional

This commit is contained in:
Fredrik Thorsson
2025-01-09 16:07:24 +01:00
parent 8a0c1244ae
commit d4d9e540f1
2 changed files with 9 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ export type FacilityCard = {
scrollOnClick: boolean
}
heading: string
scriptedTopTitle: string
scriptedTopTitle?: string
theme: CardProps["theme"]
id: string
}
@@ -55,7 +55,6 @@ export enum WellnessHeadings {
GymSauna = "Gym & Sauna",
GymPoolSaunaRelax = "Gym, Pool, Sauna & Relax",
GymJacuzziSaunaRelax = "Gym, Jacuzzi, Sauna & Relax",
FallbackHeading = "",
}
export enum HealthFacilitiesEnum {
@@ -63,4 +62,6 @@ export enum HealthFacilitiesEnum {
Gym = "Gym",
Sauna = "Sauna",
Relax = "Relax",
IndoorPool = "IndoorPool",
OutdoorPool = "OutdoorPool",
}