From 090b05736a24b75cd869b16a9af923812b2cb78e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Klabbers?= Date: Mon, 9 Mar 2020 13:38:44 +0100 Subject: [PATCH] showing start user in class list now --- js/src/forum/components/Post.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/src/forum/components/Post.js b/js/src/forum/components/Post.js index 3de246a97..4b4d51ad2 100644 --- a/js/src/forum/components/Post.js +++ b/js/src/forum/components/Post.js @@ -115,6 +115,10 @@ export default class Post extends Component { classes.push('Post--by-actor'); } + if (app.current.discussion && app.current.discussion.attribute('startUserId') == this.props.post.user().id()) { + classes.push('Post--by-start-user') + } + return classes; }