From a0e9494ff1b7b4013a39c6c21a5e75ae75ee4f9d Mon Sep 17 00:00:00 2001 From: grnd-alt Date: Fri, 20 Jun 2025 11:40:40 +0200 Subject: [PATCH] fix: ensure correct type when filtering events Signed-off-by: grnd-alt --- src/components/ActivityList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ActivityList.vue b/src/components/ActivityList.vue index aaf66dc8a..64e6a0643 100644 --- a/src/components/ActivityList.vue +++ b/src/components/ActivityList.vue @@ -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)