Merge pull request #1796 from coollabsio/next
fix: unmanaged containers method
This commit is contained in:
commit
e9f451339f
@ -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;
|
||||
|
@ -275,6 +275,8 @@ public function loadUnmanagedContainers()
|
||||
});
|
||||
$containers = $containers->filter();
|
||||
return collect($containers);
|
||||
} else {
|
||||
return collect([]);
|
||||
}
|
||||
}
|
||||
public function hasDefinedResources()
|
||||
|
Loading…
Reference in New Issue
Block a user