Browse Source

fixed filter without values

Alexander Musikhin 2 tháng trước cách đây
mục cha
commit
da2f05a64e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      resources/views/partials/filterElement.blade.php

+ 1 - 1
resources/views/partials/filterElement.blade.php

@@ -5,7 +5,7 @@
                 @include('partials.select', [
                 'name' => 'filters[' . $id . ']',
                 'title' => false,
-                'options' => $data['values'],
+                'options' => $data['values'] ?? [],
                 'value' => request()->filters[$id] ?? '',
                 'right' => true,
                 ])