Fix squirrely notification badges

This commit is contained in:
Jon Staab
2024-12-11 14:10:20 -08:00
parent c83461688f
commit 167cd045f4
6 changed files with 26 additions and 28 deletions
+6 -3
View File
@@ -13,6 +13,7 @@
export let url
export let pubkey
export let events: TrustedEvent[] = []
export let hideLoading = false
const ctrl = createFeedController({
useWindowing: true,
@@ -59,8 +60,10 @@
<NoteItem {url} {event} />
</div>
{/each}
<p class="center my-12 flex">
<Spinner loading />
</p>
{#if !hideLoading}
<p class="center my-12 flex">
<Spinner loading />
</p>
{/if}
</div>
</div>