fixed uploads table (1)

This commit is contained in:
Ludwig Lehnert
2026-01-29 20:26:42 +01:00
parent 57b42ca8ec
commit 6093a13140

View File

@@ -1008,10 +1008,11 @@ app.get(`${basePath}/admin/dashboard`, requireAdminPage, async (req, res) => {
<section class="card">
<h2>Aktuelle Uploads</h2>
${uploads.length ? `
${allUploads.length ? `
<table>
<thead>
<tr>
<th>Nutzer</th>
<th>Datei</th>
<th>Größe</th>
<th>Läuft ab</th>
@@ -1019,7 +1020,7 @@ app.get(`${basePath}/admin/dashboard`, requireAdminPage, async (req, res) => {
</tr>
</thead>
<tbody>
${rows}
${adminUploadsRows}
</tbody>
</table>
` : '<div class="muted">Noch keine Uploads.</div>'}