feat: showing recipe list values
- add displaying for values in recipe list, with some editable fields except topping, string params, feed pattern/level Signed-off-by: pakintada@gmail.com <Pakin>
This commit is contained in:
parent
4866674f26
commit
dbb5ce466c
14 changed files with 640 additions and 37 deletions
|
|
@ -4,7 +4,7 @@
|
|||
import * as DropdownMenu from '$lib/components/ui/dropdown-menu/index';
|
||||
import { get } from 'svelte/store';
|
||||
import {
|
||||
materialData,
|
||||
materialFromServerQuery,
|
||||
materialFromMachineQuery,
|
||||
referenceFromPage
|
||||
} from '$lib/core/stores/recipeStore';
|
||||
|
|
@ -26,7 +26,9 @@
|
|||
onMount(() => {
|
||||
refPage = get(referenceFromPage);
|
||||
if (refPage === 'brew') allMatData = get(materialFromMachineQuery);
|
||||
else if (refPage === 'overview') allMatData = get(materialData);
|
||||
else if (refPage === 'overview') allMatData = get(materialFromServerQuery);
|
||||
|
||||
// console.log('all mat data', JSON.stringify(allMatData));
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue