{#if employee && !employee.active}
{ signOut() }} />
{:else if employee?.active || account.role === AccountRole.Owner}
currentApplication?.alias === app)} style:flex-direction={appsDirection === 'horizontal' ? 'column-reverse' : 'row'} >
{ showPopup(SelectWorkspaceMenu, {}, popupSpacePosition) }} >
{ if (e.metaKey || e.ctrlKey) return if (currentAppAlias === inboxId && lastLoc !== undefined) { e.preventDefault() e.stopPropagation() navigate(lastLoc) lastLoc = undefined } else { lastLoc = $location } }} notify={hasInboxNotifications} />
showPopup(AppSwitcher, { apps: getApps(apps) }, popupPosition)} />
showPopup(AccountPopup, {}, popupPosition)} >
{#if currentApplication && navigatorModel && navigator && visibleNav} {#if navFloat}
(visibleNav = false)} />{/if}
{#if currentApplication}
{#if currentApplication.navHeaderComponent} {#await checkIsHeaderHidden(currentApplication) then isHidden} {#if !isHidden} {#await checkIsHeaderDisabled(currentApplication) then disabled}
{/await} {/if} {/await} {/if} {/if}
{#if currentApplication.navFooterComponent}
{/if}
{/if}
{#if currentApplication && currentApplication.component}
{:else if specialComponent}
{ if (e?.detail) { const loc = getCurrentLocation() loc.query = { ...loc.query, ...e.detail } navigate(loc) } }} /> {:else if currentView?.component !== undefined}
{:else}
{/if}
{#if asideId} {@const asideComponent = navigatorModel?.aside ?? currentApplication?.aside} {#if asideComponent !== undefined}
{/if} {/if}
{/if}