Skip to content

Commit

Permalink
Merge pull request redacademy#126 from redacademy/fix-surveygoals
Browse files Browse the repository at this point in the history
survey goals modal null fix
  • Loading branch information
codedavinci authored Sep 21, 2017
2 parents 75116ba + d71898e commit 1a61999
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 1a61999

Please sign in to comment.