app: Handle ingredient management
This commit is contained in:
parent
c64dcc1400
commit
7660146175
2 changed files with 360 additions and 1 deletions
|
|
@ -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! {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue