Explorar o código

try to fix the detailed view

andre %!s(int64=4) %!d(string=hai) anos
pai
achega
7e93e3af6f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/UI/Disk/Forms/UpdateForm.php

+ 1 - 1
app/UI/Disk/Forms/UpdateForm.php

@@ -55,7 +55,7 @@ class UpdateForm extends BaseForm implements ClientArea
         }
         $backupSwitcher = $this->getField('backup');
         if ( parent::getFormData()['id'] == 'scsi0') {
-            $backupSwitcher->htmlAttributes['style'] = "display: none;";
+            $backupSwitcher->addClass('hidden');
         }
 
     }