Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(comments): Support user IDs that are numbers, e.g. "42"
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen authored and backportbot[bot] committed Oct 10, 2025
commit bc2bd4cf7baa3952c1c4c83bcaa3996e11959487
7 changes: 6 additions & 1 deletion apps/comments/src/views/Comments.vue
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,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
Expand Down