diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/src/components/post-listing.tsx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index d57aa663..519c7f74 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -525,6 +525,16 @@ export class PostListing extends Component<PostListingProps, PostListingState> { </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"> @@ -747,16 +757,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> { )} </> )} - {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 |