From 13aabb99744f0eaf33a6bc145864a800307f2e62 Mon Sep 17 00:00:00 2001 From: David Jay Date: Wed, 9 Nov 2016 13:54:44 -0500 Subject: [PATCH] Re-adding notification length to config. --- client/coral-embed-stream/src/CommentStream.js | 12 ++++++------ client/coral-framework/store/actions/config.js | 4 +++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/client/coral-embed-stream/src/CommentStream.js b/client/coral-embed-stream/src/CommentStream.js index 65e02e2ee..0804530e8 100644 --- a/client/coral-embed-stream/src/CommentStream.js +++ b/client/coral-embed-stream/src/CommentStream.js @@ -151,12 +151,12 @@ class CommentStream extends Component {
- + diff --git a/client/coral-framework/store/actions/config.js b/client/coral-framework/store/actions/config.js index 243cb9049..c5368a04b 100644 --- a/client/coral-framework/store/actions/config.js +++ b/client/coral-framework/store/actions/config.js @@ -21,7 +21,9 @@ export const fetchConfig = () => async (dispatch) => { //TODO: Replace with fetching config from backend // const response = await fetch(`./talk.config.json`) // const json = await response.json() - dispatch({ type: FETCH_CONFIG_SUCCESS, config: fromJS({}) }) + dispatch({ type: FETCH_CONFIG_SUCCESS, config: fromJS({ + notifLength: 4500 + }) }) } catch (error) { dispatch({ type: FETCH_CONFIG_FAILED }) }