Adding hasParent on Comment to the Graph

This commit is contained in:
Belen Curcio
2017-08-21 16:21:39 -03:00
parent 8b044954d9
commit a540dfe8d4
4 changed files with 8 additions and 1 deletions
@@ -69,7 +69,7 @@ class Comment extends React.Component {
let selectionStateCSS = selected ? 'mdl-shadow--16dp' : 'mdl-shadow--2dp';
const queryData = {root, comment, asset: comment.asset};
console.log(comment);
return (
<li
tabIndex={0}
@@ -53,6 +53,7 @@ export default withFragments({
editing {
edited
}
hasParent
${getSlotFragmentSpreads(slots, 'comment')}
}
`