File tree Expand file tree Collapse file tree 1 file changed +19
-17
lines changed
resources/views/components Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Original file line number Diff line number Diff line change 1212 ]);
1313@endphp
1414
15- <div {{ $attributes } } >
16- @if (isset ($this ) && method_exists ($this , ' initializeWithPagination' ) )
17- <div class =" d-block d-lg-none" >
18- {{ $links -> links (' livewire::simple-bootstrap' ) } }
19- </div >
15+ @if ($links -> hasPages () )
16+ <div {{ $attributes } } >
17+ @if (isset ($this ) && method_exists ($this , ' initializeWithPagination' ) )
18+ <div class =" d-block d-lg-none" >
19+ {{ $links -> links (' livewire::simple-bootstrap' ) } }
20+ </div >
2021
21- <div class =" d-none d-lg-block" >
22- {{ $links -> links (' livewire::bootstrap' ) } }
23- </div >
24- @else
25- <div class =" d-block d-lg-none" >
26- {{ $links -> links (' pagination::simple-bootstrap-4' ) } }
27- </div >
22+ <div class =" d-none d-lg-block" >
23+ {{ $links -> links (' livewire::bootstrap' ) } }
24+ </div >
25+ @else
26+ <div class =" d-block d-lg-none" >
27+ {{ $links -> links (' pagination::simple-bootstrap-4' ) } }
28+ </div >
2829
29- <div class =" d-none d-lg-block" >
30- {{ $links -> links (' pagination::bootstrap-4' ) } }
31- </div >
32- @endif
33- </div >
30+ <div class =" d-none d-lg-block" >
31+ {{ $links -> links (' pagination::bootstrap-4' ) } }
32+ </div >
33+ @endif
34+ </div >
35+ @endif
You can’t perform that action at this time.
0 commit comments