{ const target = e.target as HTMLImageElement; target.style.display = 'none'; const fallback = target.nextElementSibling as HTMLElement; if (fallback) fallback.style.display = 'flex'; }} /> {#if favorite.shortcut_key}
{favorite.shortcut_key}
{/if}
{getDisplayTitle(favorite)} {getDomain(favorite.url)}
{#if favorite.tags && favorite.tags.length > 0}
{#each favorite.tags.slice(0, 2) as tag (tag.id)} {tag.name} {/each} {#if favorite.tags.length > 2} +{favorite.tags.length - 2} {/if}
{/if}