Admin: Automatically refresh application list

This commit is contained in:
weeb 2025-05-02 16:21:46 +02:00
parent aea9c8e878
commit b8d2ec698c
2 changed files with 6 additions and 1 deletions

View File

@ -21,6 +21,11 @@ class ApplicationList extends Component
$this->resetPage();
}
public function refresh()
{
$this->resetPage();
}
public function approveApplication($uuid)
{
$service = new SynapseService();

View File

@ -1,4 +1,4 @@
<div>
<div wire:poll.10s="refresh">
<div class="max-w-5xl mx-auto p-6">
<h1 class="text-2xl font-bold mb-4">Application Management</h1>