Merge pull request #7148 from nextcloud/backport/7071/stable31

[stable31]fix: ensure correct type when filtering events
This commit is contained in:
grnd-alt
2025-07-31 11:10:04 +02:00
committed by GitHub

View File

@@ -87,7 +87,7 @@ export default {
// to tell the backend to fetch all activites related to cards of a given board
activities = activities.filter((activity) => {
return (activity.object_type === 'deck_board' && activity.object_id === this.objectId)
|| (activity.object_type === 'deck_card' && activity.subject_rich[1].board.id === this.objectId)
|| (activity.object_type === 'deck_card' && activity.subject_rich[1].board.id === this.objectId.toString())
})
}
this.activities.push(...activities)