Browse Source

无categoryBooks 也显示图书列表

visuddhinanda 10 months ago
parent
commit
ed34ca8b97
1 changed files with 2 additions and 2 deletions
  1. 2 2
      api-v8/resources/views/library/category.blade.php

+ 2 - 2
api-v8/resources/views/library/category.blade.php

@@ -43,7 +43,7 @@
         </div>
         @endif
 
-        @if(count($categoryBooks) > 0)
+
 
         <div class="card">
             <div class="card-header">
@@ -53,7 +53,7 @@
                 @include('components.book-list', ['books' => $categoryBooks])
             </div>
         </div>
-        @endif
+
     </div>
 </div>
 @endsection