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
|
|
@ -173,7 +173,7 @@ const handlers: Record<string, (payload: any) => void> = {
|
|||
|
||||
export function handleIncomingMessages(raw: string) {
|
||||
const msg: WSMessage = JSON.parse(raw);
|
||||
console.log(`${new Date().toLocaleTimeString()}:ws msg`, msg);
|
||||
// console.log(`${new Date().toLocaleTimeString()}:ws msg`, msg);
|
||||
if (msg == null) {
|
||||
// error response
|
||||
addNotification('ERR:No response from server');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue