fix: show latest version on manual update view

This commit is contained in:
Andras Bacsai
2024-08-07 12:10:31 +02:00
parent 052565f4e8
commit f0278bc33d
2 changed files with 2 additions and 4 deletions

View File

@@ -22,7 +22,9 @@ class Upgrade extends Component
{
try {
$settings = InstanceSettings::get();
$this->latestVersion = get_latest_version_of_coolify();
$this->isUpgradeAvailable = $settings->new_version_available;
} catch (\Throwable $e) {
return handleError($e, $this);
}