Skip to content
Snippets Groups Projects
Commit 5fa9c964 authored by Alexandru Munteanu's avatar Alexandru Munteanu
Browse files

fix(editorial-comments): fix qa bugs

parent f22b0c8f
No related branches found
No related tags found
1 merge request!10Sprint #12
......@@ -50,8 +50,8 @@ const EditorialComment = ({
export default compose(
setDisplayName('EditorialComment'),
withProps(({ recommendationType, comments = [] }) => ({
reason: parseRecommendationType(recommendationType),
withProps(({ recommendation, comments = [] }) => ({
reason: parseRecommendationType(recommendation),
comments: parseRecommendationComments(comments),
})),
)(EditorialComment)
......
......@@ -9,7 +9,7 @@ import { EditorialComment } from './'
const EditorialComments = ({ recommendations, handlingEditor }) => (
<Root>
<Expandable label="Editorial comments">
<Expandable label="Editorial comments" startExpanded>
{recommendations.map(r => (
<EditorialComment key={r.id} {...r} handlingEditor={handlingEditor} />
))}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment