mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 12:51:18 +00:00
Merge branch 'dev'
This commit is contained in:
commit
db8753631c
1 changed files with 3 additions and 1 deletions
4
ui/src/components/comment-form.tsx
vendored
4
ui/src/components/comment-form.tsx
vendored
|
@ -263,7 +263,9 @@ export class CommentForm extends Component<CommentFormProps, CommentFormState> {
|
|||
// If its a comment edit, only check that its from your user, and that its a
|
||||
// text edit only
|
||||
|
||||
(op == UserOperation.EditComment && data.comment.content)
|
||||
(data.comment.creator_id == UserService.Instance.user.id &&
|
||||
op == UserOperation.EditComment &&
|
||||
data.comment.content)
|
||||
) {
|
||||
this.state.previewMode = false;
|
||||
this.state.loading = false;
|
||||
|
|
Loading…
Reference in a new issue