web client v0.9 (restaurant view)
This commit is contained in:
@@ -19,6 +19,7 @@ import { notification, refreshUserData } from "../../actions";
|
||||
import { showBackdrop, hideBackdrop } from "../../actions/toggles.js";
|
||||
import { backend } from "../../config";
|
||||
import Tooltip from "@material-ui/core/Tooltip";
|
||||
import LunchSetDishList from "../Output/LunchSetDishList";
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
root: {
|
||||
@@ -86,6 +87,7 @@ export default function EditCategoriesList(props) {
|
||||
sendForm("delete", selectedSet);
|
||||
setOpen(false);
|
||||
};
|
||||
|
||||
const SetList = props.lunchMenu.map((set) => {
|
||||
return (
|
||||
<Accordion key={set.id} className={classes.root}>
|
||||
@@ -107,6 +109,7 @@ export default function EditCategoriesList(props) {
|
||||
</Tooltip>
|
||||
</div>
|
||||
</AccordionSummary>
|
||||
<LunchSetDishList lunchSet={set} restaurantId={props.restaurantId} />
|
||||
</Accordion>
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user