feat: add v0.19.0 support

This commit is contained in:
Xyphyn committed 2023-09-28 17:09:09 -07:00
1 parent b3b8a10e44
commit 119ab53946
62 files changed
+188 -157

No files matched your search

+1 -2
View File
@@ -49,7 +49,6 @@
const blocked = isBlocked($profile.user, block)
await getClient().blockPerson({
auth: $profile.jwt,
block: !blocked,
person_id: block,
})
@@ -130,7 +129,7 @@
<div
class="!divide-y divide-slate-200 dark:divide-zinc-800 flex flex-col"
>
{#each data.items as item (item.counts.id)}
{#each data.items as item}
{#if isCommentView(item) && (data.type == 'all' || data.type == 'comments')}
<CommentItem comment={item} />
{:else if !isCommentView(item) && (data.type == 'all' || data.type == 'posts')}
-1
View File
@@ -15,7 +15,6 @@ export async function load({ params, url, fetch }) {
page: page,
username: params.name,
sort: sort,
auth: get(profile)?.jwt,
})
const items = [...user.posts, ...user.comments]