From 355a52d100c7a183b0bddba0ac09f2bb703d51cf Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Mon, 9 Mar 2026 23:26:24 +0000 Subject: [PATCH] Stop manually truncating Browsers are better at this --- html/template/sync/communication-root.html | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/html/template/sync/communication-root.html b/html/template/sync/communication-root.html index 74de6c20..895be03e 100644 --- a/html/template/sync/communication-root.html +++ b/html/template/sync/communication-root.html @@ -24,12 +24,7 @@ if (a.number == "" && a.street == "") { return "no address provided"; } - const result = a.number + " " + a.street + ", " + a.locality; - if (result.length > 30) { - return result.substring(0, 30) + "..."; - } else { - return result; - } + return a.number + " " + a.street + ", " + a.locality; } function communicationsApp() { return {