Upgrade to Livewire 3 (#103)

* upgrade to livewire 3

* fix updater

* fix modal events

* fix modal events
This commit is contained in:
Saeed Vaziry
2024-02-04 18:11:22 +01:00
committed by GitHub
parent 3da1f4fe4c
commit 8bffefabef
98 changed files with 529 additions and 303 deletions

View File

@ -40,7 +40,7 @@ public function create(): void
$this->refreshComponent([]);
$this->dispatchBrowserEvent('database-created', true);
$this->dispatch('database-created');
}
public function delete(): void
@ -52,9 +52,9 @@ public function delete(): void
$this->refreshComponent([]);
$this->emitTo(DatabaseUserList::class, '$refresh');
$this->dispatch('$refresh')->to(DatabaseUserList::class);
$this->dispatchBrowserEvent('confirmed', true);
$this->dispatch('confirmed');
}
public function render(): View