patch:
- fix topping bug where update value also save across states even already closed dialog - fix disconnect may throw error - add machine state payload from tcp socket - add command/sheet api request - add heartbeat message Signed-off-by: pakintada@gmail.com <Pakin>
This commit is contained in:
parent
230e2ec342
commit
916e056389
8 changed files with 78 additions and 30 deletions
|
|
@ -11,7 +11,7 @@
|
|||
recipeOverviewData,
|
||||
referenceFromPage
|
||||
} from '$lib/core/stores/recipeStore.js';
|
||||
import { sendMessage } from '$lib/core/handlers/ws_messageSender.js';
|
||||
import { sendCommandRequest, sendMessage } from '$lib/core/handlers/ws_messageSender.js';
|
||||
import { auth } from '$lib/core/stores/auth.js';
|
||||
import { get } from 'svelte/store';
|
||||
import { getRecipes } from '$lib/core/client/server.js';
|
||||
|
|
@ -24,6 +24,12 @@
|
|||
// loadRecipe();
|
||||
refDepartment = get(departmentStore);
|
||||
referenceFromPage.set('overview');
|
||||
|
||||
sendCommandRequest('sheet', {
|
||||
country: refDepartment,
|
||||
param: 'get_all_catalogs'
|
||||
});
|
||||
|
||||
// await getRecipes();
|
||||
});
|
||||
|
||||
|
|
@ -39,7 +45,7 @@
|
|||
<div>
|
||||
<h1 class="m-8 text-4xl font-bold">Layout overview [ {refDepartment} ]</h1>
|
||||
<p class="mx-8 my-0 text-muted-foreground">
|
||||
Display menus from the spreadsheet current selected country
|
||||
Display menus from the spreadsheet current selected country
|
||||
</p>
|
||||
</div>
|
||||
<div class="mx-8 my-4 flex gap-2">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue