Merge pull request #6582 from beganovich/v5-667

Show navigation bar only if `enable_client_portal` is toggled
This commit is contained in:
David Bomba 2021-09-05 19:57:05 +10:00 committed by GitHub
commit 2cfac5d99c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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