Explorar el Código

try to reenable vmcreate after delete action

andre hace 4 años
padre
commit
e7c53e01bf
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/UI/Vms/Pages/VmsDataTable.php

+ 2 - 2
app/UI/Vms/Pages/VmsDataTable.php

@@ -70,9 +70,9 @@ class VmsDataTable extends DataTable implements ClientArea, AdminArea
             logModuleCall(
                 'proxmoxCloud',
                 __FUNCTION__,
-                $resurceManager,
+                $resurceManager->vcpus()->free(),
                 'Debug',
-                sl("sidebar")->getSidebar("virtualMachinesProxmoxCloudVps")->getChild("vmcreate")
+                $resurceManager->disk()->free()
             );
             
             //deaktivate createVM Button in case of lack of ressources