Fix unmanagedContainers type declaration

This commit is contained in:
Andras Bacsai 2024-03-01 19:00:45 +01:00
parent 2eb7712e09
commit a4d173c733

View File

@ -12,7 +12,7 @@ class Resources extends Component
use AuthorizesRequests; use AuthorizesRequests;
public ?Server $server = null; public ?Server $server = null;
public $parameters = []; public $parameters = [];
public Collection $unmanagedContainers; public ?Collection $unmanagedContainers = null;
public function getListeners() public function getListeners()
{ {
$teamId = auth()->user()->currentTeam()->id; $teamId = auth()->user()->currentTeam()->id;
@ -55,7 +55,6 @@ public function mount() {
} catch (\Throwable $e) { } catch (\Throwable $e) {
return handleError($e, $this); return handleError($e, $this);
} }
// $this->loadUnmanagedContainers();
} }
public function render() public function render()
{ {