</li>
) : (
<>
+ {this.props.showBody && post.body && (
+ <li className="list-inline-item">
+ <span
+ className="pointer"
+ onClick={linkEvent(this, this.handleViewSource)}
+ >
+ {i18n.t('view_source')}
+ </span>
+ </li>
+ )}
{this.canModOnSelf && (
<>
<li className="list-inline-item">
)}
</>
)}
- {this.props.showBody && post.body && (
- <li className="list-inline-item">
- <span
- className="pointer"
- onClick={linkEvent(this, this.handleViewSource)}
- >
- {i18n.t('view_source')}
- </span>
- </li>
- )}
</ul>
{this.state.showRemoveDialog && (
<form