mirror of
https://github.com/s-frick/effigenix.git
synced 2026-03-28 20:49:57 +01:00
feat(production): TUI-Screens für Zutaten verwalten + Rezept aktivieren
This commit is contained in:
parent
63f51bc1a9
commit
5224001dd7
6 changed files with 241 additions and 20 deletions
|
|
@ -42,6 +42,7 @@ import { RecipeListScreen } from './components/production/RecipeListScreen.js';
|
|||
import { RecipeCreateScreen } from './components/production/RecipeCreateScreen.js';
|
||||
import { RecipeDetailScreen } from './components/production/RecipeDetailScreen.js';
|
||||
import { AddProductionStepScreen } from './components/production/AddProductionStepScreen.js';
|
||||
import { AddIngredientScreen } from './components/production/AddIngredientScreen.js';
|
||||
|
||||
function ScreenRouter() {
|
||||
const { isAuthenticated, loading } = useAuth();
|
||||
|
|
@ -109,6 +110,7 @@ function ScreenRouter() {
|
|||
{current === 'recipe-create' && <RecipeCreateScreen />}
|
||||
{current === 'recipe-detail' && <RecipeDetailScreen />}
|
||||
{current === 'recipe-add-production-step' && <AddProductionStepScreen />}
|
||||
{current === 'recipe-add-ingredient' && <AddIngredientScreen />}
|
||||
</MainLayout>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue