From 45bd4f2a0ace5d91c6afee120dc1279f696cfc98 Mon Sep 17 00:00:00 2001 From: Naiel <109038805+naielv@users.noreply.github.com> Date: Thu, 5 Jun 2025 11:36:28 +0200 Subject: [PATCH] trying to fix --- index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 01698d3..ccadcd4 100644 --- a/index.html +++ b/index.html @@ -2310,7 +2310,10 @@ function add_row(data, key) { if (data != null) { data["_key"] = key; - if (rows2[key].Estado != data.Estado) { + if (old[key] == undefined) { + old[key] = {}; + } + if (old[key].Estado != data.Estado) { console.log("SC:Updated:", data) if (tts) { var msg = `Comanda de ${SC_Personas[data.Persona].Region}. ${SC_Personas[data.Persona].Nombre}. ${data.Estado}`