|
|
@@ -163,15 +163,17 @@ class VmsDataTable extends DataTable implements ClientArea, AdminArea
|
|
|
$dataProv->setDefaultSorting("name", 'ASC');
|
|
|
$dataProv->setData($query);
|
|
|
$this->setDataProvider($dataProv);
|
|
|
+ $this->$vmModel = VmModel::ofId($dataProv->getData()->getRecords()->first()->vmid)->firstOrFail();
|
|
|
|
|
|
logModuleCall(
|
|
|
'proxmoxCloud',
|
|
|
__FUNCTION__,
|
|
|
- $dataProv->getData()->getRecords(),
|
|
|
+ $this->$vmModel,
|
|
|
'Debug',
|
|
|
$dataProv->getData()->getRecords()->first()->vmid
|
|
|
);
|
|
|
|
|
|
+
|
|
|
}
|
|
|
|
|
|
public function isViewFooter()
|