diff --git a/src/components/Dashboard.jsx b/src/components/Dashboard.jsx index 0f400db..286be0d 100644 --- a/src/components/Dashboard.jsx +++ b/src/components/Dashboard.jsx @@ -94,10 +94,13 @@ class Dashboard extends React.Component { getCategoryColor: category => this.getCategoryColor(category) }} /> - { this.props.actions.updateNarrative(narrative); }} - /> + {(this.props.app.narrative !== null) + ? { this.props.actions.updateNarrative(narrative); }} + /> + : '' + } { - console.log(selected, sources) if (selected.length === 0) { return [] }