An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(container): sort containers alphabetically by name in ExecuteContainerCommand and update filtering in Terminal Index
Andras Bacsaicc5abc093d35
diff --git a/app/Livewire/Project/Shared/ExecuteContainerCommand.php b/app/Livewire/Project/Shared/ExecuteContainerCommand.phpindex 2d55807c7d..6833492a65 100644--- a/app/Livewire/Project/Shared/ExecuteContainerCommand.php+++ b/app/Livewire/Project/Shared/ExecuteContainerCommand.php@@ -132,6 +132,12 @@ class ExecuteContainerCommand extends Component});}}++ // Sort containers alphabetically by name+ $this->containers = $this->containers->sortBy(function ($container) {+ return data_get($container, 'container.Names');+ });+if ($this->containers->count() === 1) {$this->selected_container = data_get($this->containers->first(), 'container.Names');}diff --git a/app/Livewire/Terminal/Index.php b/app/Livewire/Terminal/Index.phpindex 10084a9915..f4008cb1c2 100644--- a/app/Livewire/Terminal/Index.php+++ b/app/Livewire/Terminal/Index.php@@ -59,7 +59,7 @@ class Index extends Componentreturn null;})->filter();- });+ })->sortBy('name');}public function updatedSelectedUuid()