wip
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user