Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
teos-front
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Tobias Stettner
teos-front
Commits
a61e7523
Commit
a61e7523
authored
8 years ago
by
Tobias Stettner
Browse files
Options
Downloads
Patches
Plain Diff
Fix author display in blog comments.
parent
a2458cdd
Branches
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/blog/components/Comment.js
+3
-3
3 additions, 3 deletions
apps/blog/components/Comment.js
with
3 additions
and
3 deletions
apps/blog/components/Comment.js
+
3
−
3
View file @
a61e7523
...
...
@@ -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
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment