diff --git a/adhocracy4/comments/static/comments/Comment.jsx b/adhocracy4/comments/static/comments/Comment.jsx index 62478dbee..397b2b465 100644 --- a/adhocracy4/comments/static/comments/Comment.jsx +++ b/adhocracy4/comments/static/comments/Comment.jsx @@ -1,5 +1,5 @@ const ReportModal = require('../../../reports/static/reports/react_reports').ReportModal -const RatingBox = require('../../../ratings/static/ratings/react_ratings').RatingBox +const RatingBox = require('../../../ratings/static/ratings/RatingBox') const Modal = require('../../../static/Modal') const CommentEditForm = require('./CommentEditForm') const CommentForm = require('./CommentForm') @@ -86,6 +86,7 @@ class Comment extends React.Component { userRating={this.props.userRating} userRatingId={this.props.userRatingId} isReadOnly={this.props.isReadOnly} + isComment /> ) } diff --git a/adhocracy4/comments_async/static/comments_async/__tests__/__snapshots__/comment.jest.jsx.snap b/adhocracy4/comments_async/static/comments_async/__tests__/__snapshots__/comment.jest.jsx.snap index 6003349b8..0deddc9b8 100644 --- a/adhocracy4/comments_async/static/comments_async/__tests__/__snapshots__/comment.jest.jsx.snap +++ b/adhocracy4/comments_async/static/comments_async/__tests__/__snapshots__/comment.jest.jsx.snap @@ -71,38 +71,55 @@ exports[`Comment Component renders comment with creator and comment text 1`] = ` >