feat(container): add updatedSelectedContainer method to connect to non-default containers and update wire:model for improved reactivity

This commit is contained in:
Andras Bacsai
2025-07-18 20:44:07 +02:00
parent 5e693eb4b5
commit ef91e43384
2 changed files with 8 additions and 1 deletions

View File

@@ -137,6 +137,13 @@ class ExecuteContainerCommand extends Component
}
}
public function updatedSelectedContainer()
{
if ($this->selected_container !== 'default') {
$this->connectToContainer();
}
}
#[On('connectToServer')]
public function connectToServer()
{