From 12cc2f0689306048b7f13e4d04577da255d96583 Mon Sep 17 00:00:00 2001 From: Silverlan Date: Mon, 3 Feb 2025 19:01:08 +0100 Subject: [PATCH] Fix incorrect condition for displaying new books section --- resources/views/books/index.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/books/index.blade.php b/resources/views/books/index.blade.php index 418c0fea8d1..197de011d01 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