瀏覽代碼

try to change edit action to console

andre 4 年之前
父節點
當前提交
b84eed1c8c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/UI/Vms/Buttons/ManageButton.php

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

@@ -50,7 +50,7 @@ class ManageButton extends ButtonDataTableModalAction implements ClientArea
         );
 
         $this->htmlAttributes['@click.middle'] = 'redirect($event, ' . $this->parseCustomParams() . ', true)';
-        $this->htmlAttributes['@click'] = 'redirect($event, ' . $this->parseCustomParams() . ')';
+        $this->htmlAttributes['@click'] = 'redirect($event, ' . $this->getNoVncConsoleUrl() . ')';
     }
 
     public function setRawUrl($url)