diff --git a/html/template/sync/communication-root.html b/html/template/sync/communication-root.html
index 3039ee53..74de6c20 100644
--- a/html/template/sync/communication-root.html
+++ b/html/template/sync/communication-root.html
@@ -21,7 +21,15 @@
return true;
}
function formatAddress(a) {
- return a.number + " " + a.street + ", " + a.locality;
+ 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;
+ }
}
function communicationsApp() {
return {
@@ -366,7 +374,7 @@
>