diff --git a/src/lib/CardsHeader.svelte b/src/lib/CardsHeader.svelte index d873eb81..fe09f7bc 100644 --- a/src/lib/CardsHeader.svelte +++ b/src/lib/CardsHeader.svelte @@ -5,6 +5,8 @@ export let item: any; + let icon_url = item.avatar_url ? item.avatar_url : item.icon ? item.icon : default_avatar; + let avatarOpen = false; const toggleAvatarModal = () => (avatarOpen = !avatarOpen); @@ -22,15 +24,15 @@ {#if loading}