{#if employee?.active === true || accountId === core.account.System}
{ showPopup(SelectWorkspaceMenu, {}, popupSpacePosition) }} >
{ if (e.metaKey || e.ctrlKey) return if (currentAppAlias === notificationId && lastLoc !== undefined) { e.preventDefault() e.stopPropagation() navigate(lastLoc) lastLoc = undefined } else { lastLoc = $location } }} notify={hasNotification} />
showPopup(AppSwitcher, { apps: getApps(apps) }, popupPosition)} /> {#await supportClient then client} {#if client} handleToggleSupportWidget()} /> {/if} {/await}
showPopup(AccountPopup, {}, popupPosition)} >
{#if currentApplication && navigatorModel && navigator && visibileNav} {#if visibileNav && navFloat}
(visibileNav = 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}
{ componentWidth = contentPanel.clientWidth }} > {#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 && currentSpace} {@const asideComponent = navigatorModel?.aside ?? currentApplication?.aside} {#if asideComponent !== undefined}
{ asideWidth = element.clientWidth }} bind:this={aside} >
{/if} {/if}
{:else if employee}

{/if}