Merge branch 'next' into improve-git-and-service-provider

This commit is contained in:
🏔️ Peak authored and GitHub committed 2025-01-09 21:18:30 +01:00
commit c1504fa5ff
45 files changed
+684 -369

No files matched your search

+8
View File
@@ -23,6 +23,8 @@ class Select extends Component
public Collection|null|Server $servers;
public bool $onlyBuildServerAvailable = false;
public ?Collection $standaloneDockers;
public ?Collection $swarmDockers;
@@ -325,5 +327,11 @@ class Select extends Component
{
$this->servers = Server::isUsable()->get()->sortBy('name');
$this->allServers = $this->servers;
if ($this->allServers && $this->allServers->isNotEmpty()) {
$this->onlyBuildServerAvailable = $this->allServers->every(function ($server) {
return $server->isBuildServer();
});
}
}
}