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