app: Handle ingredient management

This commit is contained in:
traxys 2023-06-17 21:52:13 +02:00
parent c64dcc1400
commit 7660146175
2 changed files with 360 additions and 1 deletions

View file

@ -20,6 +20,7 @@ use crate::{
mod bootstrap;
mod sidebar;
mod ingredients;
const API_ROUTE: &str = match option_env!("REGALADE_API_SERVER_BASE") {
None => "http://localhost:8085",
@ -461,7 +462,7 @@ fn switch(route: Route) -> Html {
},
Route::Ingredients => html! {
<GlobalStateRedirector {route}>
{"Ingredients"}
<ingredients::Ingredients />
</GlobalStateRedirector>
},
Route::HouseholdSelect => html! {