diff --git a/server.ts b/server.ts index d85ae4a..f327a0c 100644 --- a/server.ts +++ b/server.ts @@ -874,7 +874,7 @@ async function startServer() { const data = await res.json() as { id?: number }; const jobId = data?.id ?? null; db.prepare('INSERT INTO logs (id, timestamp, type, message) VALUES (?, ?, ?, ?)') - .run(uid('log'), now, 'system', `Semaphore: triggered template #${templateId} → job #${jobId} (booking ${extraVars.booking_id}).`); + .run(uid('log'), now, 'booking', `Semaphore: triggered template #${templateId} → job #${jobId} (booking ${extraVars.booking_id}).`); return jobId; } catch (err: any) { const msg = `Semaphore trigger failed for template #${templateId} — ${err?.message ?? err}`; diff --git a/src/components/Logbook.tsx b/src/components/Logbook.tsx index 3a2a6d6..b6e9e19 100644 --- a/src/components/Logbook.tsx +++ b/src/components/Logbook.tsx @@ -131,7 +131,6 @@ export default function Logbook({ logs, devices, users, currentUser, onAddLog }: { key: 'maintenance',label: 'Maintenance' }, { key: 'status', label: 'Status' }, { key: 'system', label: 'System' }, - { key: 'all', label: 'All incl. System' }, ].map(({ key, label }) => (