From be880d17f5aaf6679f5c5064d49baca9dbbacba4 Mon Sep 17 00:00:00 2001 From: Peter Bui Date: Tue, 25 Jul 2023 16:09:49 -0400 Subject: [PATCH] fix: include type_=All to expand comments Further fix #11 by specifying the type_ parameter to 'All'. Without this, the server returns an empty comments array. --- src/lib/components/lemmy/comment/Comments.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/lemmy/comment/Comments.svelte b/src/lib/components/lemmy/comment/Comments.svelte index 1f664fff..b402b452 100644 --- a/src/lib/components/lemmy/comment/Comments.svelte +++ b/src/lib/components/lemmy/comment/Comments.svelte @@ -43,6 +43,7 @@ auth: $authData?.token, max_depth: 5, parent_id: parent.comment_view.comment.id, + type_: 'All', }) if (newComments.comments.length == 0) {