From 2f286a6595e12e9ad4cdd1b5727ce8c4e58e2e5d Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 7 Dec 2023 13:48:23 +0100 Subject: [PATCH] fix: container selection --- app/Http/Livewire/Project/Shared/ExecuteContainerCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Livewire/Project/Shared/ExecuteContainerCommand.php b/app/Http/Livewire/Project/Shared/ExecuteContainerCommand.php index cfe149b92..3c73a7f52 100644 --- a/app/Http/Livewire/Project/Shared/ExecuteContainerCommand.php +++ b/app/Http/Livewire/Project/Shared/ExecuteContainerCommand.php @@ -83,7 +83,7 @@ class ExecuteContainerCommand extends Component $this->server = $this->resource->server; } - if ($this->containers->count() > 1) { + if ($this->containers->count() > 0) { $this->container = $this->containers->first(); } }