Browse Source

try to disable delete button on root disk

andre 4 years ago
parent
commit
195bc39abd
1 changed files with 0 additions and 1 deletions
  1. 0 1
      app/UI/Disk/Buttons/DeleteButton.php

+ 0 - 1
app/UI/Disk/Buttons/DeleteButton.php

@@ -30,7 +30,6 @@ class DeleteButton extends ButtonDataTableModalAction implements ClientArea
     {
     {
         $this->initIds('deleteDiskButton');
         $this->initIds('deleteDiskButton');
         $this->setDisableByColumnValue("master", true);
         $this->setDisableByColumnValue("master", true);
-        $this->setDisableByColumnValue("root", true);
         $this->switchToRemoveBtn();
         $this->switchToRemoveBtn();
         $this->initLoadModalAction(new DeleteModal());
         $this->initLoadModalAction(new DeleteModal());
     }
     }