@if ($groupedBooks(); as groupedBooks) { @if (groupedBooks.length) { } @else if ($loadingCollection()) {