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