From c1d4f7c60a2b30db82e2efdb731c0f720d1cfa60 Mon Sep 17 00:00:00 2001 From: Steve Clement Date: Sun, 1 Sep 2024 12:43:46 +0200 Subject: [PATCH 1/2] fix: [html] `; if (edit == 1) { name = ``; } @@ -85,4 +85,4 @@ async function editForm(id, known) { // console.log(url); await fetch(url); -} \ No newline at end of file +} From f756f770eb93427ff0a74f1b6fec7bf31a501355 Mon Sep 17 00:00:00 2001 From: Steve Clement Date: Mon, 2 Sep 2024 09:24:51 +0200 Subject: [PATCH 2/2] chg: [html] replaced option with data tag --- internal/web/public/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/web/public/js/index.js b/internal/web/public/js/index.js index b8b363a..6f3e726 100644 --- a/internal/web/public/js/index.js +++ b/internal/web/public/js/index.js @@ -15,7 +15,7 @@ function createHTML(addr, i) { } // Needs option to use value in js - let name = ``; + let name = `${addr.Name}`; if (edit == 1) { name = ``; }