Browse Source

debug additional slider

andre 4 years ago
parent
commit
0f1ea18a36
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/UI/VmUpdate/Sections/Qemu/GeneralSection.php

+ 2 - 2
app/UI/VmUpdate/Sections/Qemu/GeneralSection.php

@@ -125,7 +125,7 @@ class GeneralSection extends BaseSection
         $this->addField($field);
         if($this->configuration()->isDetailsCombinedView()){
             //disk
-            foreach ($vm->getHardDiskRepostiory()->fetch() as $disk){
+/*            foreach ($vm->getHardDiskRepostiory()->fetch() as $disk){
                 if($disk->getName() == 'disk-0'){
                     $field = new Range('disk', (int) $disk->getSize(), $this->resourceManager->disk()->free());
                     $field->addValidator(new NumberValidator((int) $disk->getSize(), $this->resourceManager->disk()->free(),true));
@@ -142,7 +142,7 @@ class GeneralSection extends BaseSection
                     );
 
                 }
-            }
+            } */
         }
         /**
          * @deprecated