Skip to content

Commit

Permalink
Compare against false value instead of truthiness
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Nov 26, 2023
1 parent 4376aae commit 37fbb40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'sidebar' => \Hyde\Framework\Features\Navigation\DocumentationSidebar::create(),
])
</nav>
@if(config('docs.sidebar.footer', true))
@if(config('docs.sidebar.footer', true) !== false)
<footer id="sidebar-footer" class="h-16 p-4 w-full bottom-0 left-0 text-center leading-8">
@include('hyde::components.docs.sidebar-footer-text')
</footer>
Expand Down

0 comments on commit 37fbb40

Please sign in to comment.