Browse Source

try to fix the detailed view

andre 4 năm trước cách đây
mục cha
commit
7e93e3af6f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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');
         }
 
     }