refactor: Remove unnecessary code in ExecuteContainerCommand.php

This commit is contained in:
Andras Bacsai
2024-09-16 15:43:24 +02:00
parent f71fb7266d
commit 1322dc9c23

View File

@@ -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')]