mirror of
https://github.com/wassname/talk.git
synced 2026-07-13 17:45:56 +08:00
Addressing errors with replies in e2e.
This commit is contained in:
@@ -87,7 +87,7 @@ class Comment extends React.Component {
|
||||
|
||||
return (
|
||||
<div
|
||||
className="comment"
|
||||
className={parentId ? 'reply' : 'comment'}
|
||||
id={`c_${comment.id}`}
|
||||
style={{marginLeft: depth * 30}}>
|
||||
<hr aria-hidden={true} />
|
||||
|
||||
@@ -2,6 +2,7 @@ fragment commentView on Comment {
|
||||
id
|
||||
body
|
||||
created_at
|
||||
status
|
||||
user {
|
||||
id
|
||||
name: displayName
|
||||
|
||||
@@ -75,8 +75,6 @@ class CommentBox extends Component {
|
||||
} else if (postedComment.status === 'PREMOD') {
|
||||
addNotification('success', lang.t('comment-post-notif-premod'));
|
||||
} else {
|
||||
|
||||
// appendItemArray(parent_id || id, related, commentId, !parent_id, parent_type);
|
||||
addNotification('success', 'Your comment has been posted.');
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
const name = 'coral-plugin-replies';
|
||||
const name = 'coral-plugin-content';
|
||||
|
||||
const Content = ({body, styles}) => {
|
||||
const textbreaks = body.split('\n');
|
||||
|
||||
Reference in New Issue
Block a user