From 1322dc9c23307566d3ce8f268493497f676e6f5a Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 16 Sep 2024 15:43:24 +0200 Subject: [PATCH] refactor: Remove unnecessary code in ExecuteContainerCommand.php --- app/Livewire/Project/Shared/ExecuteContainerCommand.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/Livewire/Project/Shared/ExecuteContainerCommand.php b/app/Livewire/Project/Shared/ExecuteContainerCommand.php index c04f5cc8c..79f32ab8b 100644 --- a/app/Livewire/Project/Shared/ExecuteContainerCommand.php +++ b/app/Livewire/Project/Shared/ExecuteContainerCommand.php @@ -123,9 +123,6 @@ class ExecuteContainerCommand extends Component if ($this->containers->count() > 0) { $this->container = $this->containers->first(); } - if ($this->containers->count() === 1) { - $this->dispatch('connectToContainer'); - } } #[On('connectToContainer')]