Add IP Addresses display for Proxmox server in service view

This commit is contained in:
2025-12-06 12:40:22 -05:00
parent a9f4981a83
commit 27243101e7
2 changed files with 65 additions and 1 deletions

View File

@@ -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) {