From c9a3211032464b684c58ce584f9ad4b43b9eacc1 Mon Sep 17 00:00:00 2001 From: Simon Backx Date: Fri, 22 Jul 2022 14:34:43 +0200 Subject: [PATCH] Updated comment events to use parent instead of parent_id --- ghost/admin/app/helpers/parse-member-event.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost/admin/app/helpers/parse-member-event.js b/ghost/admin/app/helpers/parse-member-event.js index c0ad957940..d87a768d0f 100644 --- a/ghost/admin/app/helpers/parse-member-event.js +++ b/ghost/admin/app/helpers/parse-member-event.js @@ -129,7 +129,7 @@ function getAction(event) { } if (event.type === 'comment_event') { - if (event.data.parent_id) { + if (event.data.parent) { return 'replied on'; } return 'commented on'; @@ -157,7 +157,7 @@ function getObject(event, hasMultipleNewsletters) { } if (event.type === 'comment_event') { - if (event.data.parent_id) { + if (event.data.parent) { return 'a comment'; }