diff --git a/source/components/Results.js b/source/components/Results.js index 6e00e3414..58ebc0d71 100644 --- a/source/components/Results.js +++ b/source/components/Results.js @@ -34,8 +34,9 @@ export default class Results extends Component { conversationFirstAnswer: showResults, situationGate, location - } = this.props, - explanation = getObjectives(situationGate, analysedSituation.root, analysedSituation.parsedRules) + } = this.props + + let explanation = R.has('root', analysedSituation) && getObjectives(situationGate, analysedSituation.root, analysedSituation.parsedRules) if (!explanation) return null