Merged in fix/SW-2528 (pull request #2688)
fix(SW-2528): get correct restaurant type * fix(SW-2528): get correct type Approved-by: Erik Tiekstra
This commit is contained in:
@@ -26,7 +26,7 @@ export default async function RestaurantBarItem({
|
||||
menus,
|
||||
restaurantPage,
|
||||
mainBody,
|
||||
type,
|
||||
restaurantType,
|
||||
} = restaurant
|
||||
const visibleImages = restaurant.content.images.slice(0, 2)
|
||||
|
||||
@@ -37,7 +37,10 @@ export default async function RestaurantBarItem({
|
||||
return (
|
||||
<div className={styles.restaurantBarItem}>
|
||||
<div className={styles.stickyHeading}>
|
||||
<MaterialIcon icon={getRestaurantIconName(type)} color="CurrentColor" />
|
||||
<MaterialIcon
|
||||
icon={getRestaurantIconName(restaurantType)}
|
||||
color="CurrentColor"
|
||||
/>
|
||||
<Typography variant="Title/Subtitle/lg">
|
||||
<h3>{name}</h3>
|
||||
</Typography>
|
||||
|
||||
Reference in New Issue
Block a user