Skip to content
Snippets Groups Projects
Commit a9fa4342 authored by roadscape's avatar roadscape
Browse files

fix title render

parent ced38b44
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ class UserTitle extends React.Component {
const showRole = role && role != 'guest';
const showTitle = title != '' || (isMod && !hideEdit);
if (!showRole || !showTitle) return null;
if (!showRole && !showTitle) return null;
let editor;
if (isMod && !hideEdit) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment