Skip to content
Snippets Groups Projects
Commit a61e7523 authored by Tobias Stettner's avatar Tobias Stettner
Browse files

Fix author display in blog comments.

parent a2458cdd
Branches master
No related merge requests found
......@@ -8,9 +8,9 @@ export default class Post extends React.Component {
var moment = require('moment');
moment.locale('de');
let author = _.get(this.props.post.current_version, 'author.mainchar') ?
_.get(this.props.post.current_version, 'author.mainchar') :
_.get(this.props.post.current_version, 'author.get_name')
let author = _.get(this.props, 'author.mainchar') ?
_.get(this.props, 'author.mainchar') :
_.get(this.props, 'author.get_name')
return (
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment