Sfoglia il codice sorgente

try to disable delete button on root disk

andre 4 anni fa
parent
commit
db59c76cbd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/UI/Disk/Pages/DiskDataTable.php

+ 1 - 1
app/UI/Disk/Pages/DiskDataTable.php

@@ -127,7 +127,7 @@ class DiskDataTable extends DataTable implements ClientArea
             if ($entity->getName() == 'disk-0') {
                 $rootDisk = true;
             } else {
-                unset($rootDisk);
+                $rootDisk = false;
             }
             $data[] = [
                 "id"     => $entity->getId(),