Skip to content

Commit 39f00e0

Browse files
authored
Merge pull request #7148 from nextcloud/backport/7071/stable31
[stable31]fix: ensure correct type when filtering events
2 parents 8658c7d + a0e9494 commit 39f00e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/ActivityList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default {
8787
// to tell the backend to fetch all activites related to cards of a given board
8888
activities = activities.filter((activity) => {
8989
return (activity.object_type === 'deck_board' && activity.object_id === this.objectId)
90-
|| (activity.object_type === 'deck_card' && activity.subject_rich[1].board.id === this.objectId)
90+
|| (activity.object_type === 'deck_card' && activity.subject_rich[1].board.id === this.objectId.toString())
9191
})
9292
}
9393
this.activities.push(...activities)

0 commit comments

Comments
 (0)