Restore device inventory logic after 055abcf (#11993)

This commit is contained in:
Jellyfrog
2020-08-04 03:42:10 +02:00
committed by GitHub
parent 239dee4caa
commit cb0034d6a1

View File

@@ -41,9 +41,7 @@ class InventoryController implements DeviceTab
if ($device->entityPhysical()->exists()) {
$this->type = 'entphysical';
}
if ($device->hostResources()->exists()) {
} elseif ($device->hostResources()->exists()) {
$this->type = 'hrdevice';
}
}