showing start user in class list now

This commit is contained in:
Daniël Klabbers 2020-03-09 13:38:44 +01:00
parent 7096da722e
commit 1c7dab6e07

View File

@ -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;
}