change: remove loading while request recipe
progress: WIP editing flow Signed-off-by: pakintada@gmail.com <Pakin>
This commit is contained in:
parent
3388eca2fe
commit
e9192c8607
24 changed files with 538 additions and 81 deletions
|
|
@ -170,7 +170,7 @@
|
|||
if (currentToppings[getToppingSlot()]['ListGroupID'][0] === 0) {
|
||||
return 'Empty';
|
||||
}
|
||||
if (!current_selected) {
|
||||
if (current_selected === undefined || current_selected === null) {
|
||||
return 'Unknown';
|
||||
}
|
||||
|
||||
|
|
@ -237,11 +237,14 @@
|
|||
},
|
||||
index: row_uid
|
||||
});
|
||||
}
|
||||
}
|
||||
} else if (event.event_type === 'save_mat_field') {
|
||||
console.log('receive saving process mat, do refresh...');
|
||||
let change_values = event.payload.change;
|
||||
|
||||
function triggerEditChange(value: any) {
|
||||
console.log('triggered on change editing', JSON.stringify(value));
|
||||
// apply now
|
||||
let keys = Object.keys(change_values);
|
||||
console.log('change keys', JSON.stringify(keys));
|
||||
}
|
||||
}
|
||||
|
||||
onMount(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue