Эх сурвалжийг харах

change test to slider for disk create

andre 4 жил өмнө
parent
commit
a8fa67c24a

+ 2 - 1
app/UI/Disk/Forms/UpdateForm.php

@@ -58,11 +58,12 @@ class UpdateForm extends BaseForm implements ClientArea
         $this->resourceManager = new ResourceManager();
 
         $vm = \ModulesGarden\ProxmoxAddon\Core\Helper\sl('Vm')->getVm();
+        $hdd = $vm->findHardDiskById($this->getRequestValue('actionElementId'));
 
         logModuleCall(
             'proxmoxCloud',
             __FUNCTION__,
-            $this,
+            $hdd,
             'Debug',
             $vm->getHardDisks()
         );