correct & simplify the DB logging

This commit is contained in:
2025-05-28 19:37:01 -06:00
parent d2c3e5db05
commit 3e90bafbd1
4 changed files with 23 additions and 50 deletions

View File

@@ -35,8 +35,7 @@
No logs found.
</div>
<div v-else>
<div v-for="(log, index) in logs" :key="index" class="mb-8">
<h2 class="text-lg font-semibold mb-2">{{ log.date }}</h2>
<div v-for="(log, index) in logs" :key="index" class="mb-2">
<pre
class="bg-slate-100 p-4 rounded-md overflow-x-auto whitespace-pre-wrap"
>{{ log.message }}</pre