Jelajahi Sumber

rry to disable delete button in vmsdatatable

andre 4 tahun lalu
induk
melakukan
906b5178df
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 3 2
      app/UI/Vms/Pages/VmsDataTable.php

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

@@ -91,12 +91,13 @@ class VmsDataTable extends DataTable implements ClientArea, AdminArea
         }
         }
         //delete
         //delete
         $this->addActionButton(new DeleteButton());
         $this->addActionButton(new DeleteButton());
+        $vm = \ModulesGarden\ProxmoxAddon\Core\Helper\sl('Vm')->getVm();
         logModuleCall(
         logModuleCall(
             'proxmoxCloud',
             'proxmoxCloud',
             __FUNCTION__,
             __FUNCTION__,
-            $this,
+            $vm,
             'Debug',
             'Debug',
-            $row
+            ''
         );
         );
     }
     }