mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for hiding client portal option
This commit is contained in:
parent
438180daca
commit
ecd2525fd8
@ -4,6 +4,7 @@
|
|||||||
@keydown.window.escape="sidebarOpen = false"
|
@keydown.window.escape="sidebarOpen = false"
|
||||||
id="main-sidebar">
|
id="main-sidebar">
|
||||||
|
|
||||||
|
@if($client->getSetting('client_portal_enable'))
|
||||||
<!-- Off-canvas menu for mobile -->
|
<!-- Off-canvas menu for mobile -->
|
||||||
@include('portal.ninja2020.components.general.sidebar.mobile')
|
@include('portal.ninja2020.components.general.sidebar.mobile')
|
||||||
|
|
||||||
@ -12,6 +13,8 @@
|
|||||||
@include('portal.ninja2020.components.general.sidebar.desktop')
|
@include('portal.ninja2020.components.general.sidebar.desktop')
|
||||||
@endunless
|
@endunless
|
||||||
|
|
||||||
|
@endif
|
||||||
|
|
||||||
<div class="flex flex-col w-0 flex-1 overflow-hidden">
|
<div class="flex flex-col w-0 flex-1 overflow-hidden">
|
||||||
@include('portal.ninja2020.components.general.sidebar.header')
|
@include('portal.ninja2020.components.general.sidebar.header')
|
||||||
<main
|
<main
|
||||||
|
Loading…
x
Reference in New Issue
Block a user