feat(SW-589): updated breakfastIncluded
This commit is contained in:
@@ -59,9 +59,9 @@ export default function RoomCard({
|
||||
}
|
||||
|
||||
const getBreakfastMessage = (rate: RateDefinition | undefined) => {
|
||||
const breakfastInfo = getRateDefinitionForRate(rate)?.breakfastIncluded
|
||||
const breakfastIncluded = getRateDefinitionForRate(rate)?.breakfastIncluded
|
||||
|
||||
switch (breakfastInfo) {
|
||||
switch (breakfastIncluded) {
|
||||
case true:
|
||||
return intl.formatMessage({ id: "Breakfast is included." })
|
||||
case false:
|
||||
|
||||
Reference in New Issue
Block a user