Add Proxmox server specifications display to service view
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user