Skip to content

Commit

Permalink
survey goals modal null fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cShingleton committed Sep 21, 2017
1 parent d7d1057 commit d71898e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/scenes/Surveys/Pages/CommentScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const CommentScreen = ({
modalState,
prevQuestion,
previousQuestionFunc,
speakerGoals,
submitSurvey
}) => (
<ScrollView style={styles.sceneContain}>
Expand All @@ -25,6 +26,7 @@ const CommentScreen = ({
<GoalsModal
onPress={() => displayGoalModal(!modalState)}
modalState={modalState}
speakerGoals={speakerGoals}
/>
<Text style={styles.titleQuestion}>
Any Additional Comments?
Expand Down
1 change: 1 addition & 0 deletions js/scenes/Surveys/SurveysContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ class SurveysContainer extends Component {
modalState={this.state.showGoalModal}
displayGoalModal={this.displayGoalModal}
submitSurvey={this.submitSurvey}
speakerGoals={parseGoalsObjToArr(this.props.talkObj.speakerData.speaker_id.goals)}
dispatchComments={this.dispatchComments}
previousQuestionFunc={this.previousQuestion}
prevQuestion={questions[n - 1]}
Expand Down

0 comments on commit d71898e

Please sign in to comment.