diff --git a/app/Livewire/Services/Show.php b/app/Livewire/Services/Show.php index b2439ab0c..85338f06e 100644 --- a/app/Livewire/Services/Show.php +++ b/app/Livewire/Services/Show.php @@ -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) { diff --git a/themes/lucentui/views/services/show.blade.php b/themes/lucentui/views/services/show.blade.php index 90ad91193..5cfe18b17 100644 --- a/themes/lucentui/views/services/show.blade.php +++ b/themes/lucentui/views/services/show.blade.php @@ -216,6 +216,70 @@ @endif + + @if($proxmoxServer && $proxmoxServer->ipAddresses->count() > 0) +