From d659cbcd0ef7d06a974913402bc1e8280b338c61 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 9 Oct 2025 11:07:51 +0200 Subject: [PATCH] fix(comments): Support user IDs that are numbers, e.g. "42" Signed-off-by: Joas Schilling --- apps/comments/src/views/Comments.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/comments/src/views/Comments.vue b/apps/comments/src/views/Comments.vue index 7b134d439f8..456dedf81d8 100644 --- a/apps/comments/src/views/Comments.vue +++ b/apps/comments/src/views/Comments.vue @@ -205,8 +205,13 @@ export default { this.done = true } + // Ensure actor id is a string + for (const comment of comments) { + comment.props.actorId = comment.props.actorId.toString() + } + // Insert results - this.comments.push(...comments) + this.comments = [...this.comments, ...comments] // Increase offset for next fetch this.offset += DEFAULT_LIMIT