Add Proxmox server specifications display to service view

This commit is contained in:
2025-12-06 12:28:32 -05:00
parent 96f48014fe
commit ed54245c4b
2 changed files with 73 additions and 1 deletions

View File

@@ -30,7 +30,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::where('service_id', $this->service->id)->first();
$this->proxmoxServer = ProxmoxServer::with('os')->where('service_id', $this->service->id)->first();
// Only fetch the actions if the service is active
if ($this->service->status == Service::STATUS_ACTIVE) {