web client changfed
This commit is contained in:
@@ -23,7 +23,7 @@ export default function DishesCategory(props) {
|
||||
const dishCards = dishes.map((dish) => {
|
||||
return (
|
||||
<ListItem key={dish._id}>
|
||||
<CardDish dish={dish}></CardDish>
|
||||
<CardDish hidePrice={props.hidePrice} dish={dish}></CardDish>
|
||||
</ListItem>
|
||||
);
|
||||
});
|
||||
@@ -33,7 +33,9 @@ export default function DishesCategory(props) {
|
||||
<AccordionSummary
|
||||
expandIcon={<ExpandMoreIcon className={classes.expandIcon} />}
|
||||
>
|
||||
<h4>{props.name}</h4>
|
||||
<h4>
|
||||
{props.name} <span>{props.price && `(${props.price}zł)`}</span>
|
||||
</h4>
|
||||
</AccordionSummary>
|
||||
<List>{dishCards}</List>
|
||||
</Accordion>
|
||||
|
||||
Reference in New Issue
Block a user