From 2e40e109a3c24145a1c1dcec9fa1d09253b9c99d Mon Sep 17 00:00:00 2001 From: boban Date: Sat, 25 Oct 2025 13:23:46 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20Mailbox=20Stats=20=C3=BCber=20Dovecot=20?= =?UTF-8?q?mit=20config/mailpool.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Livewire/Ui/System/UpdateCard.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/Livewire/Ui/System/UpdateCard.php b/app/Livewire/Ui/System/UpdateCard.php index 52c8d0d..77a8981 100644 --- a/app/Livewire/Ui/System/UpdateCard.php +++ b/app/Livewire/Ui/System/UpdateCard.php @@ -29,6 +29,17 @@ class UpdateCard extends Component private const VERSION_FILE_RAW = '/var/lib/mailwolt/version_raw'; // original ("v1.0.25" o.ä.) private const BUILD_INFO = '/etc/mailwolt/build.info'; // Fallback + public function mount(): void + { + $this->reloadVersionsAndStatus(); + $this->recompute(); + + // falls ein Update bereits läuft (State-Datei existiert), gleich “running” zeigen + if ($this->running) { + $this->state = 'running'; + } + } + protected function reloadVersionsAndStatus(): void { $this->current = $this->readCurrentVersion();