Fix incorrect condition for displaying new books section
This commit is contained in:
parent
786a434c03
commit
12cc2f0689
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
<div id="new" class="mb-xl">
|
<div id="new" class="mb-xl">
|
||||||
<h5>{{ trans('entities.books_new') }}</h5>
|
<h5>{{ trans('entities.books_new') }}</h5>
|
||||||
@if(count($popular) > 0)
|
@if(count($new) > 0)
|
||||||
@include('entities.list', ['entities' => $new, 'style' => 'compact'])
|
@include('entities.list', ['entities' => $new, 'style' => 'compact'])
|
||||||
@else
|
@else
|
||||||
<p class="text-muted pb-l mb-none">{{ trans('entities.books_new_empty') }}</p>
|
<p class="text-muted pb-l mb-none">{{ trans('entities.books_new_empty') }}</p>
|
||||||
|
@ -59,4 +59,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@stop
|
@stop
|
||||||
|
|
Loading…
Reference in New Issue