1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-07 23:03:00 +03:00

Updated page nav to hide when empty

This commit is contained in:
Dan Brown
2017-01-14 15:34:52 +00:00
parent 581c382f65
commit 969ad8911c
2 changed files with 5 additions and 5 deletions

View File

@@ -26,7 +26,7 @@
@endforeach
@endif
@if (isset($pageNav) && $pageNav)
@if (isset($pageNav) && count($pageNav))
<h6 class="text-muted">{{ trans('entities.pages_navigation') }}</h6>
<div class="sidebar-page-nav menu">
@foreach($pageNav as $navItem)