Fix zone table in status

This commit is contained in:
Josh Deprez 2024-05-04 17:03:32 +10:00
parent 5866f091ed
commit 0185722e19
Signed by: josh
SSH key fingerprint: SHA256:zZji7w1Ilh2RuUpbQcqkLPrqmRwpiCSycbF2EfKm6Kw

View file

@ -83,7 +83,7 @@ const zoneTableTemplate = `
<thead><tr>
<th>Network</th>
<th>Name</th>
<th>Local</th>
<th>Local Port</th>
<th>Last seen</th>
</tr></thead>
<tbody>
@ -91,7 +91,7 @@ const zoneTableTemplate = `
<tr>
<td>{{$zone.Network}}</td>
<td>{{$zone.Name}}</td>
<td>{{if $zone.Local}}{{else}}{{end}}</td>
<td>{{with $zone.LocalPort}}{{.Device}}{{else}}-{{end}}</td>
<td>{{$zone.LastSeenAgo}}</td>
</tr>
{{end}}