From 36d5165abc587a277d669e07dbc5c1c8113a7ed7 Mon Sep 17 00:00:00 2001 From: Naiel <109038805+naielv@users.noreply.github.com> Date: Thu, 5 Jun 2025 11:20:40 +0200 Subject: [PATCH] Update index.html --- index.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index a980bb3..98226e7 100644 --- a/index.html +++ b/index.html @@ -2097,6 +2097,8 @@ }; }, index: function () { + var tts = false; + setTimeout(() => {tts = true}, 7500) const tablebody = safeuuid(); var btn_new = safeuuid(); container.innerHTML = ` @@ -2297,6 +2299,7 @@ }; }); } + var old = {}; gun .get(TABLE) .get("supercafe") @@ -2307,10 +2310,15 @@ function add_row(data, key) { if (data != null) { data["_key"] = key; + if (JSON.stringify(row2[key]) != JSON.stringify(data)) { + console.log("SC:Updated:", data) + } rows2[key] = data; + old[key] = data; } else { // console.log("delete", key); delete rows2[key]; + delete old[key]; } render(); } @@ -2581,4 +2589,4 @@ - \ No newline at end of file +