Merge pull request #1796 from coollabsio/next

fix: unmanaged containers method
This commit is contained in:
Andras Bacsai 2024-03-01 19:14:18 +01:00 committed by GitHub
commit e9f451339f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class Resources extends Component
use AuthorizesRequests;
public ?Server $server = null;
public $parameters = [];
public ?Collection $unmanagedContainers = null;
public Collection $unmanagedContainers;
public function getListeners()
{
$teamId = auth()->user()->currentTeam()->id;

View File

@ -275,6 +275,8 @@ public function loadUnmanagedContainers()
});
$containers = $containers->filter();
return collect($containers);
} else {
return collect([]);
}
}
public function hasDefinedResources()