showing start user in class list now

This commit is contained in:
Daniël Klabbers 2020-03-09 13:38:44 +01:00
parent 4b45ce0a58
commit 090b05736a

View File

@ -115,6 +115,10 @@ export default class Post extends Component {
classes.push('Post--by-actor'); 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; return classes;
} }