Show exact times in access logs

This commit is contained in:
Dorian
2026-05-20 15:07:13 -05:00
parent 3e4a0dd7b7
commit fcf98b9dbf

View File

@@ -3320,7 +3320,7 @@ watch(mobileMenuOpen, (open) => {
<article v-for="log in accessLogs.slice(0, 30)" :key="log.id" class="access-log-row">
<span :class="log.decision === 'allow' ? 'text-emerald-300' : 'text-red-200'">{{ log.decision }}</span>
<p>{{ log.reason }} · {{ log.doorId || 'door' }}</p>
<small>{{ formatDate(log.seenAt) }}</small>
<small>{{ formatDateTime(log.seenAt) }}</small>
</article>
</div>
<div v-else class="empty-admin">No access logs yet.</div>