mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 20:14:45 +00:00
refactor(resource-operations): filter out build servers from the server list and clean up commented-out code in the resource operations view
This commit is contained in:
1 parent
ac66e857c9
commit
581151bb11
2 files changed
+12
-61
No files matched your search
@@ -35,7 +35,7 @@ class ResourceOperations extends Component
|
||||
$this->projectUuid = data_get($parameters, 'project_uuid');
|
||||
$this->environmentUuid = data_get($parameters, 'environment_uuid');
|
||||
$this->projects = Project::ownedByCurrentTeam()->get();
|
||||
$this->servers = currentTeam()->servers;
|
||||
$this->servers = currentTeam()->servers->filter(fn ($server) => ! $server->isBuildServer());
|
||||
}
|
||||
|
||||
public function toggleVolumeCloning(bool $value)
|
||||
|
||||
Reference in new issue
Block a user