diff --git a/app/Livewire/Ui/System/UpdateCard.php b/app/Livewire/Ui/System/UpdateCard.php index 8d04fc0..88c3446 100644 --- a/app/Livewire/Ui/System/UpdateCard.php +++ b/app/Livewire/Ui/System/UpdateCard.php @@ -249,7 +249,9 @@ class UpdateCard extends Component $this->displayCurrent = $curNorm ? 'v' . $curNorm : null; - if (!$this->displayLatest && $latNorm) { + if (!$this->hasUpdate) { + $this->displayLatest = null; + } elseif (!$this->displayLatest && $latNorm) { $this->displayLatest = 'v' . $latNorm; } } diff --git a/app/Livewire/Ui/System/UpdatePage.php b/app/Livewire/Ui/System/UpdatePage.php index 549c4d9..27813e7 100644 --- a/app/Livewire/Ui/System/UpdatePage.php +++ b/app/Livewire/Ui/System/UpdatePage.php @@ -194,7 +194,9 @@ class UpdatePage extends Component $this->displayCurrent = $curNorm ? 'v' . $curNorm : null; - if (!$this->displayLatest && $latNorm) { + if (!$this->hasUpdate) { + $this->displayLatest = null; + } elseif (!$this->displayLatest && $latNorm) { $this->displayLatest = 'v' . $latNorm; } }