From ea0677e8026ae2f03868b321c305513b3164cbf9 Mon Sep 17 00:00:00 2001 From: Spectralitree <72747870+Spectralitree@users.noreply.github.com> Date: Wed, 15 Dec 2021 13:53:32 +0100 Subject: [PATCH] feat: make the cardsheader more customizable --- src/lib/CardsHeader.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/CardsHeader.svelte b/src/lib/CardsHeader.svelte index 23c3ace7..3b539ed5 100644 --- a/src/lib/CardsHeader.svelte +++ b/src/lib/CardsHeader.svelte @@ -14,7 +14,7 @@
- +
{item.name} ({item.id})
@@ -23,7 +23,7 @@
{/if} {#if item && item.avatar_url} - {if (event.key === "Enter") avatarOpen = true}} on:click={toggleAvatarModal} class="rounded-circle avatar" src={item.avatar_url} alt="Your system avatar" /> + {if (event.key === "Enter") avatarOpen = true}} on:click={toggleAvatarModal} class="rounded-circle avatar" src={item.avatar_url} alt="Icon" /> {:else} your system avatar (default) {/if}