Merge branch 'main' into Nutomic-patch-1

This commit is contained in:
Dessalines 2023-09-12 15:25:22 -04:00 committed by GitHub
commit 620fc3ca8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -604,7 +604,8 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
}
commentsLine(mobile = false) {
const post = this.postView.post;
const post_view = this.postView;
const post = post_view.post;
return (
<div className="d-flex align-items-center justify-content-start flex-wrap text-muted">
@ -637,6 +638,9 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
my_vote={this.postView.my_vote}
/>
)}
{this.props.showBody && post_view.post.body && this.viewSourceButton}
{UserService.Instance.myUserInfo &&
!this.props.viewOnly &&
this.postActions()}
@ -655,8 +659,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
{this.saveButton}
{this.crossPostButton}
{this.props.showBody && post_view.post.body && this.viewSourceButton}
<div className="dropdown">
<button
className="btn btn-sm btn-link btn-animate text-muted py-0 dropdown-toggle"