Kaynağa Gözat

try to use console button

andre 4 yıl önce
ebeveyn
işleme
84f91cf86f

+ 0 - 7
app/UI/Vms/Buttons/ManageButton.php

@@ -39,13 +39,6 @@ class ManageButton extends ButtonDataTableModalAction implements ClientArea
 
 
     public function afterInitContent()
     public function afterInitContent()
     {
     {
-        logModuleCall(
-            'proxmoxCloud',
-            __FUNCTION__,
-            $this->parseCustomParams(),
-            'Debug',
-            ''
-        );
         $this->htmlAttributes['@click.middle'] = 'redirect($event, ' . $this->parseCustomParams() . ', true)';
         $this->htmlAttributes['@click.middle'] = 'redirect($event, ' . $this->parseCustomParams() . ', true)';
         $this->htmlAttributes['@click'] = 'redirect($event, ' . $this->parseCustomParams() . ')';
         $this->htmlAttributes['@click'] = 'redirect($event, ' . $this->parseCustomParams() . ')';
     }
     }

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

@@ -167,11 +167,11 @@ class VmsDataTable extends DataTable implements ClientArea, AdminArea
         logModuleCall(
         logModuleCall(
             'proxmoxCloud',
             'proxmoxCloud',
             __FUNCTION__,
             __FUNCTION__,
-            $query,
+            $dataProv->getData(['id']),
             'Debug',
             'Debug',
-            $dataProv
+            $dataProv->getData()
         );
         );
-        
+
     }
     }
 
 
     public function isViewFooter()
     public function isViewFooter()