Browse Source

try to change edit action to console

andre 4 years ago
parent
commit
e71da8653f
1 changed files with 2 additions and 3 deletions
  1. 2 3
      app/UI/Vms/Pages/VmsDataTable.php

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

@@ -80,11 +80,10 @@ class VmsDataTable extends DataTable implements ClientArea, AdminArea
 
         if(!$isAdmin){
             //edit
-//            $this->addActionButton(new ConsoleButton());
-            $this->addActionButton(new ManageButton());
+            $this->addActionButton(new ConsoleButton());
         }
         //delete
-        $this->addActionButton(new DeleteButton());
+        $this->addActionButton(new ManageButton());
     }
 
     protected function loadHtml()