NOW MANAGED ON CODEBERG
Fix incorrect condition for displaying new books section
Silverlan12cc2f068930
diff --git a/resources/views/books/index.blade.php b/resources/views/books/index.blade.phpindex 418c0fea8..197de011d 100644--- a/resources/views/books/index.blade.php+++ b/resources/views/books/index.blade.php@@ -23,7 +23,7 @@<div id="new" class="mb-xl"><h5>{{ trans('entities.books_new') }}</h5>- @if(count($popular) > 0)+ @if(count($new) > 0)@include('entities.list', ['entities' => $new, 'style' => 'compact'])@else<p class="text-muted pb-l mb-none">{{ trans('entities.books_new_empty') }}</p>@@ -59,4 +59,4 @@</div></div>-@stop\ No newline at end of file+@stop