Show exact times in access logs
This commit is contained in:
@@ -3320,7 +3320,7 @@ watch(mobileMenuOpen, (open) => {
|
|||||||
<article v-for="log in accessLogs.slice(0, 30)" :key="log.id" class="access-log-row">
|
<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>
|
<span :class="log.decision === 'allow' ? 'text-emerald-300' : 'text-red-200'">{{ log.decision }}</span>
|
||||||
<p>{{ log.reason }} · {{ log.doorId || 'door' }}</p>
|
<p>{{ log.reason }} · {{ log.doorId || 'door' }}</p>
|
||||||
<small>{{ formatDate(log.seenAt) }}</small>
|
<small>{{ formatDateTime(log.seenAt) }}</small>
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="empty-admin">No access logs yet.</div>
|
<div v-else class="empty-admin">No access logs yet.</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user