|
28 | 28 | ) |
29 | 29 |
|
30 | 30 | @if($this->shouldShowTools) |
31 | | - <x-livewire-tables::tools> |
32 | | - @if ($this->showSortPillsSection) |
33 | | - <x-livewire-tables::tools.sorting-pills /> |
34 | | - </x-livewire-tables::tools> |
| 31 | + <x-livewire-tables::tools> |
| 32 | + @if ($this->showSortPillsSection) |
| 33 | + <x-livewire-tables::tools.sorting-pills /> |
| 34 | + @endif |
| 35 | + @if($this->showFilterPillsSection) |
| 36 | + <x-livewire-tables::tools.filter-pills /> |
| 37 | + @endif |
| 38 | + |
| 39 | + @includeWhen( |
| 40 | + $this->hasConfigurableAreaFor('before-toolbar'), |
| 41 | + $this->getConfigurableAreaFor('before-toolbar'), |
| 42 | + $this->getParametersForConfigurableArea('before-toolbar') |
| 43 | + ) |
| 44 | + |
| 45 | + @if($this->shouldShowToolBar) |
| 46 | + <x-livewire-tables::tools.toolbar /> |
| 47 | + @endif |
| 48 | + |
| 49 | + @includeWhen( |
| 50 | + $this->hasConfigurableAreaFor('after-toolbar'), |
| 51 | + $this->getConfigurableAreaFor('after-toolbar'), |
| 52 | + $this->getParametersForConfigurableArea('after-toolbar') |
| 53 | + ) |
| 54 | + |
| 55 | + </x-livewire-tables::tools> |
35 | 56 | @endif |
36 | 57 |
|
37 | 58 | @includeWhen( |
|
40 | 61 | $this->getParametersForConfigurableArea('after-tools') |
41 | 62 | ) |
42 | 63 |
|
43 | | - <x-livewire-tables::table> |
44 | | - |
45 | | - <x-slot name="thead"> |
46 | | - @if($this->getCurrentlyReorderingStatus) |
47 | | - <x-livewire-tables::table.th.reorder x-cloak x-show="currentlyReorderingStatus" /> |
48 | | - @endif |
49 | | - @if($this->showFilterPillsSection) |
50 | | - <x-livewire-tables::tools.filter-pills /> |
51 | | - @endif |
52 | | - |
53 | | - @includeWhen( |
54 | | - $this->hasConfigurableAreaFor('before-toolbar'), |
55 | | - $this->getConfigurableAreaFor('before-toolbar'), |
56 | | - $this->getParametersForConfigurableArea('before-toolbar') |
57 | | - ) |
58 | | - |
59 | | - @if($this->shouldShowToolBar) |
60 | | - <x-livewire-tables::tools.toolbar /> |
61 | | - @endif |
62 | | - |
63 | | - @includeWhen( |
64 | | - $this->hasConfigurableAreaFor('after-toolbar'), |
65 | | - $this->getConfigurableAreaFor('after-toolbar'), |
66 | | - $this->getParametersForConfigurableArea('after-toolbar') |
67 | | - ) |
68 | | - |
69 | | - </x-livewire-tables::tools> |
70 | | - @endif |
71 | | - |
72 | 64 | <x-livewire-tables::table> |
73 | 65 |
|
74 | 66 | <x-slot name="thead"> |
|
0 commit comments