feat: rewrite report/inbox handling

This commit is contained in:
Xyphyn committed 2023-09-17 14:40:55 -07:00
1 parent d9ab0db31c
commit 30d5dc9bf2
13 files changed
+468 -429

No files matched your search

+1 -3
View File
@@ -11,9 +11,7 @@
import { getClient } from '$lib/lemmy.js'
import { goto } from '$app/navigation'
import { page } from '$app/stores'
import { isRead } from '$lib/lemmy/inbox.js'
import Pageination from '$lib/components/ui/Pageination.svelte'
import MultiSelect from '$lib/components/input/Switch.svelte'
import { profile } from '$lib/auth.js'
import Placeholder from '$lib/components/ui/Placeholder.svelte'
import { fly } from 'svelte/transition'
@@ -109,7 +107,7 @@
{:else}
{#each data.data as item}
<div in:fly={{ duration: 500, y: -6, opacity: 0 }}>
<InboxItem {item} read={isRead(item)} />
<InboxItem {item} />
</div>
{/each}
<Pageination