Merged in feat/BOOK-479-scandic-go-hotels-rm-brf- (pull request #3143)
feat(BOOK-479): Updated breakfast UI for ScandicGo hotels Approved-by: Erik Tiekstra
This commit is contained in:
@@ -18,6 +18,7 @@ interface BreakfastProps {
|
||||
childrenInRoom: Child[] | undefined
|
||||
currency: string
|
||||
nights: number
|
||||
hotelOffersBreakfast?: boolean
|
||||
}
|
||||
|
||||
export default function Breakfast({
|
||||
@@ -28,6 +29,7 @@ export default function Breakfast({
|
||||
childrenInRoom = [],
|
||||
currency,
|
||||
nights,
|
||||
hotelOffersBreakfast = true,
|
||||
}: BreakfastProps) {
|
||||
const intl = useIntl()
|
||||
|
||||
@@ -194,7 +196,10 @@ export default function Breakfast({
|
||||
})
|
||||
return (
|
||||
<Tbody>
|
||||
<BoldRow label={breakfastBuffet} value={noBreakfast} />
|
||||
<BoldRow
|
||||
label={hotelOffersBreakfast ? breakfastBuffet : undefined}
|
||||
value={noBreakfast}
|
||||
/>
|
||||
</Tbody>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user