fix: brew machine cannot show value
Signed-off-by: pakintada@gmail.com <Pakin>
This commit is contained in:
parent
e6d1ac9a99
commit
ee57dd1163
6 changed files with 43 additions and 8 deletions
|
|
@ -17,6 +17,7 @@
|
|||
import { auth } from '$lib/core/stores/auth.js';
|
||||
import { get } from 'svelte/store';
|
||||
import { getRecipes } from '$lib/core/client/server.js';
|
||||
import { permission } from '$lib/core/stores/permissions';
|
||||
|
||||
let data: { recipes: RecipeOverview[] } = $state({
|
||||
recipes: []
|
||||
|
|
@ -32,6 +33,7 @@
|
|||
// do load recipe
|
||||
// loadRecipe();
|
||||
referenceFromPage.set('overview');
|
||||
|
||||
await getRecipes();
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,9 @@
|
|||
recipeFromMachine,
|
||||
recipeFromMachineLoading,
|
||||
recipeFromMachineQuery,
|
||||
referenceFromPage
|
||||
toppingListFromMachineQuery,
|
||||
referenceFromPage,
|
||||
toppingGroupFromMachineQuery
|
||||
} from '$lib/core/stores/recipeStore';
|
||||
import DataTable from '../../recipe/overview/data-table.svelte';
|
||||
import { handleIncomingMessages } from '$lib/core/handlers/messageHandler';
|
||||
|
|
@ -313,6 +315,9 @@
|
|||
|
||||
recipeFromMachineQuery.set(currentQuery);
|
||||
materialFromMachineQuery.set(currentMaterialsQuery);
|
||||
|
||||
toppingListFromMachineQuery.set(devRecipe['Topping']['ToppingList']);
|
||||
toppingGroupFromMachineQuery.set(devRecipe['Topping']['ToppingGroup']);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue