Browse Source

try to reenable vmcreate after delete action

andre 4 years ago
parent
commit
cc1d438d52
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/UI/Vms/Buttons/ConsoleButton.php

+ 1 - 1
app/UI/Vms/Buttons/ConsoleButton.php

@@ -32,7 +32,7 @@ class ConsoleButton extends ButtonDataTableModalAction implements ClientArea
 
 
     public function initContent()
     public function initContent()
     {
     {
-        $this->vmModel = \ModulesGarden\ProxmoxAddon\Core\Helper\sl('Vm')->getVmModel();
+//        $this->vmModel = \ModulesGarden\ProxmoxAddon\Core\Helper\sl('Vm')->getVmModel();
         $this->initIds('consoleButton');
         $this->initIds('consoleButton');
         $this->setDisableByColumnValue("vmid", 0);
         $this->setDisableByColumnValue("vmid", 0);
 //        $url = (new UrlServiceHelper())->getNoVncConsoleUrl();
 //        $url = (new UrlServiceHelper())->getNoVncConsoleUrl();