web client v1.0 (production)

This commit is contained in:
2020-10-08 21:29:06 +02:00
parent d0dab37649
commit 20c7dd18a7
22 changed files with 289 additions and 33 deletions

View File

@@ -73,11 +73,11 @@ export default function Restaurant(props) {
{restaurant.lunchHours && (
<h3>Lunch menu ({restaurant.lunchHours})</h3>
)}
{showDishList === false && <CircularProgress />}
{showDishList === true && <LunchMenu restaurant={restaurant} />}
{!showDishList && <CircularProgress />}
{showDishList && <LunchMenu restaurant={restaurant} />}
<h3>Menu</h3>
{showDishList === false && <CircularProgress />}
{showDishList === true && <DishList />}
{!showDishList && <CircularProgress />}
{showDishList && <DishList />}
</div>
</div>
</div>