Stop manually truncating

Browsers are better at this
This commit is contained in:
Eli Ribble 2026-03-09 23:26:24 +00:00
parent 873d5da2cd
commit 355a52d100
No known key found for this signature in database

View file

@ -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 {