chore: Update listeners and proxy settings in server form and new server components

This commit is contained in:
Andras Bacsai
2024-09-12 12:34:09 +02:00
parent 16e472da19
commit 664a990c60
3 changed files with 17 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ class Show extends Component
public $parameters = [];
protected $listeners = ['refreshServerShow' => '$refresh'];
protected $listeners = ['refreshServerShow'];
public function mount()
{
@@ -29,6 +29,12 @@ class Show extends Component
}
}
public function refreshServerShow()
{
$this->server->refresh();
$this->dispatch('$refresh');
}
public function submit()
{
$this->dispatch('serverRefresh', false);