From 087bfcad089eac3799d2f6828a888493d3826cbc Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 14 Nov 2023 15:06:03 +0100 Subject: [PATCH] Update server model and version configurations --- app/Models/Server.php | 6 +++--- config/sentry.php | 2 +- config/version.php | 2 +- versions.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Models/Server.php b/app/Models/Server.php index eca98889e..6890c0fe7 100644 --- a/app/Models/Server.php +++ b/app/Models/Server.php @@ -111,9 +111,9 @@ class Server extends BaseModel public function hasDefinedResources() { - $applications = $this->applications()->count() === 0; - $databases = $this->databases()->count() === 0; - $services = $this->services()->count() === 0; + $applications = $this->applications()->count() > 0; + $databases = $this->databases()->count() > 0; + $services = $this->services()->count() > 0; if ($applications || $databases || $services) { return true; } diff --git a/config/sentry.php b/config/sentry.php index 01c00e557..f8abffc9f 100644 --- a/config/sentry.php +++ b/config/sentry.php @@ -7,7 +7,7 @@ return [ // The release version of your application // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')) - 'release' => '4.0.0-beta.132', + 'release' => '4.0.0-beta.133', // When left empty or `null` the Laravel environment will be used 'environment' => config('app.env'), diff --git a/config/version.php b/config/version.php index 57d619e4d..dca9988d6 100644 --- a/config/version.php +++ b/config/version.php @@ -1,3 +1,3 @@