Superset Tools
(e.key === "Enter" || e.key === " ") && handleActivityClick()} role="button" tabindex="0" aria-label={$t.common?.activity || "Activity"} > {#if activeCount > 0} {activeCount} {/if}
(e.key === "Enter" || e.key === " ") && toggleUserMenu(e)} role="button" tabindex="0" aria-label={$t.common?.user_menu || "User menu"} > {#if user} {user.username ? user.username.charAt(0).toUpperCase() : "U"} {:else} U {/if}
{user?.username || ($t.common?.user || "User")}
{ window.location.href = "/settings"; }} on:keydown={(e) => (e.key === "Enter" || e.key === " ") && (window.location.href = "/settings")} role="button" tabindex="0" > {$t.nav?.settings || "Settings"}
(e.key === "Enter" || e.key === " ") && handleLogout()} role="button" tabindex="0" > {$t.common?.logout || "Logout"}