andre 3 месяцев назад
Родитель
Сommit
70736fbea6
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      app/UI/Client/Setting/Sections/GeneralSection.php

+ 1 - 2
app/UI/Client/Setting/Sections/GeneralSection.php

@@ -27,8 +27,7 @@ class GeneralSection extends FreeFieldsSection
     public function initContent()
     {
         $row = new InputGroup('MX');
-        $raw->setDescription('description');
-        $row->addInputComponent((new InputGroupElements\Text('mxthurdata'))->addHtmlAttribute('readonly','true'));
+        $row->addInputComponent((new InputGroupElements\Text('mxthurdata'))->addHtmlAttribute('readonly','true')->setDescription('description'));
         $row->addInputAddon('', false, '⇔');
         $row->addInputComponent((new InputGroupElements\Text('mxactive'))->addHtmlAttribute('readonly','true'));
         $this->addSection($row);