jqh 5 lat temu
rodzic
commit
46c35f1a0b

+ 1 - 1
resources/views/grid/quick-create/form.blade.php

@@ -1,5 +1,5 @@
 <thead>
-<tr class="{{ $elementClass }} quick-create" @if($hidden) style="display: none" @endif>
+<tr class="{{ $elementClass }} quick-create">
     <td colspan="{{ $columnCount }}" style="height: 43px;padding-left: 57px;background-color: #f9f9f9; vertical-align: middle;">
 
         <span class="create" style="color: #bdbdbd;cursor: pointer;display: block;">

+ 0 - 1
src/Grid/Tools/QuickCreate.php

@@ -371,7 +371,6 @@ JS;
             'columnCount'  => $columnCount,
             'fields'       => $this->fields,
             'elementClass' => $this->elementClass(),
-            'hidden'       => $this->parent->option('create_mode') === Grid::CREATE_MODE_QUICK,
         ];
 
         return view('admin::grid.quick-create.form', $vars)->render();