fix: show latest version on manual update view

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

No files matched your search

+2
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);
}