{#if $myEmployeeStore && deactivated && !isAdminUser()}
{ void logOut().then(() => { navigate({ path: [loginId] }) }) }} />
{:else if $myEmployeeStore || account.role === AccountRole.Owner || isAdminUser()}
{ showPopup(SelectWorkspaceMenu, {}, popupSpacePosition) }} >
{#if !isExcludedApp(notificationId) && !isCommunicationEnabled}
{/if}
showPopup(AppSwitcher, { apps }, popupPosition)} />
showPopup(AccountPopup, {}, popupPosition)} >
{ workbenchWidth = element.clientWidth checkWorkbenchWidth() }} > {#if $deviceInfo.navigator.float && $deviceInfo.navigator.visible}
($deviceInfo.navigator.visible = false)} /> {/if} {#if mainNavigator}
{#if currentApplication}
{#if currentApplication.navHeaderActions != null}
{/if}
{#if currentApplication.navHeaderComponent}
{/if} {/if}
{#if currentApplication && currentApplication.navFooterComponent}
{/if}
{#if !($deviceInfo.isMobile && $deviceInfo.isPortrait && $deviceInfo.minWidth)}
{/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 $accessDeniedStore}
{:else}
{/if}
{#if $sidebarStore.variant === SidebarVariant.EXPANDED && !$sidebarStore.float}
{/if}
{/if}