diff --git a/dashboard/src/lib/CardsHeader.svelte b/dashboard/src/lib/CardsHeader.svelte index 2ae903fd..720cbc8e 100644 --- a/dashboard/src/lib/CardsHeader.svelte +++ b/dashboard/src/lib/CardsHeader.svelte @@ -29,8 +29,6 @@ if (item.icon) altText = item.name ? `group ${item.name} icon (full size)` : "group icon (full size)"; else if (item.proxy_tags) altText = item.name ? `member ${item.name} avatar (full size)` : "member avatar (full size)"; else if (item.tag) altText = item.name ? `system ${item.name} avatar (full size)` : "system avatar (full size)"; - - export let loading: boolean = false; async function focus(el) { await tick(); @@ -46,9 +44,6 @@ {@html htmlName} ({item.id})
- {#if loading} -
- {/if} {#if item && (item.avatar_url || item.icon)} {if (event.key === "Enter") avatarOpen = true}} on:click={toggleAvatarModal} class="rounded-circle avatar" src={icon_url} alt={altText} /> {:else} diff --git a/dashboard/src/lib/system/Edit.svelte b/dashboard/src/lib/system/Edit.svelte index 5dcf59c8..b25137d2 100644 --- a/dashboard/src/lib/system/Edit.svelte +++ b/dashboard/src/lib/system/Edit.svelte @@ -1,5 +1,5 @@ - + @@ -25,7 +24,7 @@ {#if !editMode} {:else} - + {/if}