Skip to content

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.

fix: container selection

Andras Bacsai2f286a6595e1
diff --git a/app/Http/Livewire/Project/Shared/ExecuteContainerCommand.php b/app/Http/Livewire/Project/Shared/ExecuteContainerCommand.php
index cfe149b920..3c73a7f523 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();
}
}