fixed uploads table (1)
This commit is contained in:
@@ -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>'}
|
||||
|
||||
Reference in New Issue
Block a user