From a660dd8c83953c38fd5ed8105de490ea8337e602 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Mon, 3 Nov 2025 08:57:52 +0100 Subject: [PATCH] fix: streamline helper version retrieval and improve migration clarity --- bootstrap/helpers/shared.php | 3 +- .../views/livewire/settings/index.blade.php | 182 +++++++++--------- 2 files changed, 89 insertions(+), 96 deletions(-) diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php index 68813cec2..560bc1ebb 100644 --- a/bootstrap/helpers/shared.php +++ b/bootstrap/helpers/shared.php @@ -2907,8 +2907,7 @@ function getHelperVersion(): string return $settings->dev_helper_version; } - // In production or when dev_helper_version is not set, use the configured helper_version - return $settings->helper_version ?? config('constants.coolify.helper_version'); + return config('constants.coolify.helper_version'); } function loadConfigFromGit(string $repository, string $branch, string $base_directory, int $server_id, int $team_id) diff --git a/resources/views/livewire/settings/index.blade.php b/resources/views/livewire/settings/index.blade.php index ac247f7bd..85c151399 100644 --- a/resources/views/livewire/settings/index.blade.php +++ b/resources/views/livewire/settings/index.blade.php @@ -1,28 +1,29 @@