From aea7cc96380e47a68d02f2662e1e4ca0b2c51478 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 13 Oct 2023 09:40:37 +0200 Subject: [PATCH] fix: show database logs in case of its not healthy and running --- app/Actions/Database/StartRedis.php | 2 -- resources/views/livewire/project/shared/logs.blade.php | 6 +----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/app/Actions/Database/StartRedis.php b/app/Actions/Database/StartRedis.php index fe02b113e..776cd6648 100644 --- a/app/Actions/Database/StartRedis.php +++ b/app/Actions/Database/StartRedis.php @@ -133,8 +133,6 @@ class StartRedis private function generate_environment_variables() { $environment_variables = collect(); - ray('Generate Environment Variables')->green(); - ray($this->database->runtime_environment_variables)->green(); foreach ($this->database->runtime_environment_variables as $env) { $environment_variables->push("$env->key=$env->value"); } diff --git a/resources/views/livewire/project/shared/logs.blade.php b/resources/views/livewire/project/shared/logs.blade.php index ecaa7c93b..59408971e 100644 --- a/resources/views/livewire/project/shared/logs.blade.php +++ b/resources/views/livewire/project/shared/logs.blade.php @@ -9,11 +9,7 @@

Logs

- @if (Str::of($status)->startsWith('running')) - - @else - Database is not running. - @endif +
@elseif ($type === 'service')