From: Silverlan Date: Mon, 3 Feb 2025 18:01:08 +0000 (+0100) Subject: Fix incorrect condition for displaying new books section X-Git-Tag: v25.02~1^2~15^2 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/12cc2f0689306048b7f13e4d04577da255d96583 Fix incorrect condition for displaying new books section --- diff --git a/resources/views/books/index.blade.php b/resources/views/books/index.blade.php index 418c0fea8..197de011d 100644 --- a/resources/views/books/index.blade.php +++ b/resources/views/books/index.blade.php @@ -23,7 +23,7 @@
{{ trans('entities.books_new') }}
- @if(count($popular) > 0) + @if(count($new) > 0) @include('entities.list', ['entities' => $new, 'style' => 'compact']) @else

{{ trans('entities.books_new_empty') }}

@@ -59,4 +59,4 @@
-@stop \ No newline at end of file +@stop