diff --git a/app/serializers/reviewable_post_voting_comments_serializer.rb b/app/serializers/reviewable_post_voting_comments_serializer.rb index 92bd8623..7e0d32f6 100644 --- a/app/serializers/reviewable_post_voting_comments_serializer.rb +++ b/app/serializers/reviewable_post_voting_comments_serializer.rb @@ -3,7 +3,7 @@ require_dependency "reviewable_serializer" class ReviewablePostVotingCommentSerializer < ReviewableSerializer - target_attributes :cooked, :raw, :comment_cooked + target_attributes :cooked, :raw, :comment_cooked, :post_id payload_attributes :comment_cooked, :transcript_topic_id, :cooked, :raw, :created_by attributes :target_id, :comment_cooked diff --git a/assets/javascripts/discourse/components/reviewable-post-voting-comment.hbs b/assets/javascripts/discourse/components/reviewable-post-voting-comment.hbs index bd6ebb88..71cff198 100644 --- a/assets/javascripts/discourse/components/reviewable-post-voting-comment.hbs +++ b/assets/javascripts/discourse/components/reviewable-post-voting-comment.hbs @@ -1,12 +1,8 @@ -