diff --git a/app/Livewire/Ui/System/UpdateCard.php b/app/Livewire/Ui/System/UpdateCard.php index c66d9a3..7b7414a 100644 --- a/app/Livewire/Ui/System/UpdateCard.php +++ b/app/Livewire/Ui/System/UpdateCard.php @@ -52,9 +52,9 @@ class UpdateCard extends Component if ($this->running) { $this->state = 'running'; - $this->dispatch('openModal', component: 'ui.system.update-modal'); + $this->dispatch('openModal', component: 'ui.system.modal.update-modal'); } - + $this->recomputeUi(); } @@ -70,7 +70,7 @@ class UpdateCard extends Component // evtl. alte Einträge aufräumen Cache::forget('mailwolt.update_available'); Cache::put($this->cacheStartedAtKey, time(), now()->addHour()); - $this->dispatch('openModal', component: 'ui.system.update-modal'); + $this->dispatch('openModal', component: 'ui.system.modal.update-modal'); // Wrapper starten (setzt /var/lib/mailwolt/update/{state,rc} und schreibt Versionen) @shell_exec('nohup sudo -n /usr/local/sbin/mailwolt-update >/dev/null 2>&1 &');