Show navigation bar only if enable_client_portal is toggled

This commit is contained in:
Benjamin Beganović 2021-09-05 11:54:28 +02:00
parent 424b08ff6f
commit 0495c29f7e

View File

@ -12,11 +12,13 @@
@unless(request()->query('sidebar') === 'hidden')
@include('portal.ninja2020.components.general.sidebar.desktop')
@endunless
@endif
<div class="flex flex-col w-0 flex-1 overflow-hidden">
@if($settings->enable_client_portal)
@include('portal.ninja2020.components.general.sidebar.header')
@endif
<main
class="flex-1 relative z-0 overflow-y-auto pt-6 focus:outline-none"
tabindex="0" x-data