This commit is contained in:
Andras Bacsai committed 2023-05-03 10:41:25 +02:00
1 parent 499101ae9c
commit c295a3e90b
5 files changed
+22 -12

No files matched your search

@@ -43,7 +43,11 @@ class PublicGitRepository extends Component
$this->port = 3000;
}
$this->parameters = Route::current()->parameters();
$this->servers = session('currentTeam')->load(['servers'])->servers;
$this->servers = session('currentTeam')->load(['servers'])->servers->reject(function ($server) {
if ($server->standaloneDockers->count() === 0 && $server->swarmDockers->count() === 0) {
return true;
}
});
}
public function chooseServer($server_id)
{
+1
View File
@@ -17,6 +17,7 @@ class FormInput extends Component
public bool $readonly = false,
public string|null $label = null,
public string|null $type = 'text',
public string|null $class = "",
public bool $instantSave = false,
public bool $disabled = false,
public bool $hidden = false