IMMICH

{#if !$page.url.pathname.includes('/admin') && shouldShowUploadButton} {/if} {#if user.isAdmin} {/if}
(shouldShowAccountInfo = true)} on:focus={() => (shouldShowAccountInfo = true)} on:mouseleave={() => (shouldShowAccountInfo = false)} on:click={showAccountInfoPanel} on:keydown={showAccountInfoPanel} > {#if shouldShowAccountInfo}

{user.firstName} {user.lastName}

{user.email}

{/if}
{#if shouldShowAccountInfoPanel} (shouldShowAccountInfoPanel = false)} on:logout={logOut} /> {/if}