From e04f0f7070a1352934715b1cf722ea4d355c37e6 Mon Sep 17 00:00:00 2001 From: gaba Date: Wed, 12 Apr 2017 14:08:55 -0700 Subject: [PATCH] Moves settings into the state for the stream. Adds premodlinks to the query. --- .../components/ConfigureCommentStream.js | 9 +++---- .../containers/ConfigureStreamContainer.js | 26 ++++++++++--------- .../graphql/queries/streamQuery.graphql | 1 + 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/client/coral-configure/components/ConfigureCommentStream.js b/client/coral-configure/components/ConfigureCommentStream.js index 348d26f53..bef53e1ef 100644 --- a/client/coral-configure/components/ConfigureCommentStream.js +++ b/client/coral-configure/components/ConfigureCommentStream.js @@ -7,7 +7,7 @@ import I18n from 'coral-framework/modules/i18n/i18n'; import translations from '../translations.json'; const lang = new I18n(translations); -export default ({handleChange, handleApply, changed, updateQuestionBoxContent, ...props}) => ( +export default ({handleChange, handleApply, changed, ...props}) => (
@@ -38,9 +38,9 @@ export default ({handleChange, handleApply, changed, updateQuestionBoxContent, . -
diff --git a/client/coral-framework/graphql/queries/streamQuery.graphql b/client/coral-framework/graphql/queries/streamQuery.graphql index 102c656e5..244118859 100644 --- a/client/coral-framework/graphql/queries/streamQuery.graphql +++ b/client/coral-framework/graphql/queries/streamQuery.graphql @@ -28,6 +28,7 @@ query AssetQuery($asset_id: ID, $asset_url: String, $comment_id: ID!, $has_comme moderation infoBoxEnable infoBoxContent + premodLinksEnable questionBoxEnable questionBoxContent closeTimeout