Add IP Addresses display for Proxmox server in service view
This commit is contained in:
@@ -36,7 +36,7 @@ class Show extends Component
|
||||
public function mount()
|
||||
{
|
||||
// Attach Proxmox server (if any) so we can show hostname on the service page
|
||||
$this->proxmoxServer = ProxmoxServer::with(['os', 'node'])->where('service_id', $this->service->id)->first();
|
||||
$this->proxmoxServer = ProxmoxServer::with(['os', 'node', 'ipAddresses'])->where('service_id', $this->service->id)->first();
|
||||
|
||||
// Fetch actual VM status from Proxmox API if server exists
|
||||
if ($this->proxmoxServer) {
|
||||
|
||||
Reference in New Issue
Block a user