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
|
|
@ -76,7 +76,7 @@
|
|||
let recipe01Snap = recipeServerSnapshot['recipe'];
|
||||
if (recipe01Snap) {
|
||||
currentData = recipe01Snap[productCode] ?? {};
|
||||
console.log(`current data : ${JSON.stringify(Object.keys(recipe01Snap))}`);
|
||||
// console.log(`current data : ${JSON.stringify(Object.keys(recipe01Snap))}`);
|
||||
if (currentData.MenuStatus) {
|
||||
currentMenuStatus = matchMenuStatus(currentData.MenuStatus);
|
||||
}
|
||||
|
|
@ -87,7 +87,9 @@
|
|||
|
||||
{#if isDesktop.current}
|
||||
<Dialog.Root bind:open>
|
||||
<Dialog.Trigger onselect={(e) => e.preventDefault()}>View</Dialog.Trigger>
|
||||
<Dialog.Trigger class="w-full text-start" onselect={(e) => e.preventDefault()}
|
||||
>View</Dialog.Trigger
|
||||
>
|
||||
<Dialog.Content class="sm:max-w-3/4">
|
||||
<Dialog.Header>
|
||||
<Dialog.Title>Edit Recipe {productCode}</Dialog.Title>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue