Show short address on green pool signal

This commit is contained in:
Eli Ribble 2026-03-05 14:49:39 +00:00
parent 89197df6b0
commit 0aeba98fb0
No known key found for this signature in database
3 changed files with 19 additions and 9 deletions

View file

@ -13,6 +13,9 @@
></script>
<script>
function shortAddress(a) {
return a.number + " " + a.street + ", " + a.locality + ", " + a.region;
}
function workbench() {
return {
// API Configuration
@ -337,6 +340,10 @@
@click="toggleSignal(signal)"
>
<div class="small fw-semibold" x-text="signal.title"></div>
<div
class="signal-address"
x-text="shortAddress(signal.address)"
></div>
<div
class="text-muted small"
x-text="signal.description"