Przeglądaj źródła

try to disable delete button in vmsdatatable

andre 4 lat temu
rodzic
commit
e37b599d40
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      app/UI/Vms/Pages/VmsDataTable.php

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

@@ -90,9 +90,9 @@ class VmsDataTable extends DataTable implements ClientArea, AdminArea
             $this->addActionButton(new ManageButton());
             $this->addActionButton(new ManageButton());
         }
         }
         //delete
         //delete
-        if($isAdmin){
+//        if($isAdmin){
             $this->addActionButton(new DeleteButton());
             $this->addActionButton(new DeleteButton());
-        }
+//        }
     }
     }
 
 
     protected function loadHtml()
     protected function loadHtml()