From c6188913d884fc70dee60f815e2f675a4bb14be2 Mon Sep 17 00:00:00 2001 From: Riley Davis Date: Tue, 8 Nov 2016 16:19:40 -0700 Subject: [PATCH] display a simple error text --- client/coral-admin/src/containers/Configure.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/coral-admin/src/containers/Configure.js b/client/coral-admin/src/containers/Configure.js index 12a47613c..364703934 100644 --- a/client/coral-admin/src/containers/Configure.js +++ b/client/coral-admin/src/containers/Configure.js @@ -75,10 +75,12 @@ class Configure extends React.Component { } render () { - const pageTitle = this.state.activeSection === 'comments' + let pageTitle = this.state.activeSection === 'comments' ? 'Comment Settings' : 'Embed Comment Stream' + if (this.props.fetchingSettings) pageTitle += ' - Loading...' + return (
@@ -101,6 +103,8 @@ class Configure extends React.Component {

{pageTitle}

+ { this.props.saveFetchingError } + { this.props.fetchSettingsError } { this.state.activeSection === 'comments' ? this.getCommentSettings()