Merge pull request #11906 from Budibase/hide-portal-sidebar-when-no-apps

Hide Portal Sidebar When the User Has No Apps
This commit is contained in:
Andrew Kingston 2023-09-28 11:28:38 +01:00 committed by GitHub
commit c495f88a75
1 changed files with 3 additions and 1 deletions

View File

@ -46,7 +46,9 @@
{#if loaded} {#if loaded}
<div class="page"> <div class="page">
{#if $apps.length > 0}
<PortalSideBar /> <PortalSideBar />
{/if}
<slot /> <slot />
</div> </div>
{/if} {/if}