From 4158cd0994bb6087885638698797e9e9c939762a Mon Sep 17 00:00:00 2001 From: Matthew White Date: Sat, 7 Dec 2024 15:25:30 -0500 Subject: [PATCH] Add entityDetails computed property to SubmissionFeedEntry (#1073) --- src/components/submission/feed-entry.vue | 27 ++++++++++++------------ 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/src/components/submission/feed-entry.vue b/src/components/submission/feed-entry.vue index 02c8e9303..7c94606a6 100644 --- a/src/components/submission/feed-entry.vue +++ b/src/components/submission/feed-entry.vue @@ -47,16 +47,14 @@ except according to the terms contained in the LICENSE file. @@ -65,16 +63,14 @@ except according to the terms contained in the LICENSE file. @@ -159,6 +155,9 @@ export default { ? this.entry.details.reviewState : 'edited'; }, + entityDetails() { + return this.entry.details.entity; + }, comment() { return this.entry.notes != null ? this.entry.notes : this.entry.body; },