]> BookStack Code Mirror - bookstack/blobdiff - resources/views/partials/book-tree.blade.php
Cleaned up some user/image areas of the app
[bookstack] / resources / views / partials / book-tree.blade.php
index 5131af1aa36ae5728f12cd6c52e429e53aeaadd2..dcc76cd83f333fc464a293d3f0a05722cd02abda 100644 (file)
@@ -12,7 +12,7 @@
         @endif
 
         @foreach($sidebarTree as $bookChild)
-            <li class="list-item-{{ $bookChild->getClassName() }} {{ $bookChild->getClassName() }} {{ $bookChild->isA('page') && $bookChild->draft ? 'draft' : '' }}">
+            <li class="list-item-{{ $bookChild->getType() }} {{ $bookChild->getType() }} {{ $bookChild->isA('page') && $bookChild->draft ? 'draft' : '' }}">
                 @include('partials.entity-list-item-basic', ['entity' => $bookChild, 'classes' => $current->matches($bookChild)? 'selected' : ''])
 
                 @if($bookChild->isA('chapter') && count($bookChild->pages) > 0)