diff --git a/client/coral-admin/src/containers/UserDetailComment.js b/client/coral-admin/src/containers/UserDetailComment.js index f9534fdf1..490e7a890 100644 --- a/client/coral-admin/src/containers/UserDetailComment.js +++ b/client/coral-admin/src/containers/UserDetailComment.js @@ -4,6 +4,9 @@ import withFragments from 'coral-framework/hocs/withFragments'; import { getDefinitionName } from 'coral-framework/utils'; import CommentLabels from './CommentLabels'; import CommentDetails from './CommentDetails'; +import { getSlotFragmentSpreads } from 'coral-framework/utils'; + +const slots = ['draftArea']; export default withFragments({ root: gql` @@ -38,6 +41,7 @@ export default withFragments({ status_history { type } + ${getSlotFragmentSpreads(slots, 'comment')} ...${getDefinitionName(CommentLabels.fragments.comment)} ...${getDefinitionName(CommentDetails.fragments.comment)} }