backend und frontent optimiert
This commit is contained in:
@@ -31,6 +31,14 @@
|
||||
</tr>
|
||||
{/each}
|
||||
</tbody>
|
||||
</table>
|
||||
<button
|
||||
on:click={async () => {
|
||||
await fetch('/api/admin/logout', { method: 'POST' });
|
||||
location.reload();
|
||||
}}
|
||||
class="bg-red-600 text-white px-4 py-3 rounded text-center hiver:bg-red-700">
|
||||
Logout
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user