fix: use raw ETA tag for timestamp HTML in SSR monitor list

This commit is contained in:
M1 2026-03-16 17:37:48 +04:00
parent 31f95288e6
commit 878829111f
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
<div class="flex items-center gap-6 shrink-0 ml-4">
<div class="text-right">
<div class="text-sm text-gray-300 stat-latency"><%= m.last_ping ? m.last_ping.latency_ms + 'ms' : '—' %></div>
<div class="text-xs text-gray-500 stat-last"><%= m.last_ping ? '<span class="timestamp" data-ts="' + new Date(m.last_ping.checked_at).getTime() + '">just now</span>' : 'no pings' %></div>
<div class="text-xs text-gray-500 stat-last"><%~ m.last_ping ? '<span class="timestamp" data-ts="' + new Date(m.last_ping.checked_at).getTime() + '">just now</span>' : 'no pings' %></div>
</div>
<div class="text-xs px-2 py-1 rounded <%= m.enabled ? 'bg-gray-800 text-gray-400' : 'bg-yellow-900/30 text-yellow-500' %>"><%= m.enabled ? m.interval_s + 's' : 'paused' %></div>
</div>