Skip to content

Commit

Permalink
Does NOT work, but close to what we want. Still searching for the bug…
Browse files Browse the repository at this point in the history
… here...
  • Loading branch information
jruzekowicz committed Jul 16, 2021
1 parent bd6340f commit d48bba1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions www/components/itinerum_tutorial/Tutorial.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@
*/
class TutorialComponent extends React.Component {
propTypes: {
isValid: React.PropTypes.bool,
schema: React.PropTypes.object,
result: React.PropTypes.object
surveyState: React.PropTypes.object,
}
render() {
return(
<div className="content-wrapper">
<div>
This is the first name -> {this.props.schema.fname}
This is the last name -> {this.props.schema.lname}
This is the first name -> {this.props.surveyState.schema.fname}
This is the last name -> {this.props.surveyState.schema.lname}
</div>
<div className="row">
{/* bootstrap grid as margin */}
Expand Down
2 changes: 1 addition & 1 deletion www/templates/intro/survey.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ion-content class="has-footer">
<tutorial test="surveyState.test" isValid="surveyState.isValid" schema="surveyState.schema" result="surveyState.result"/>
<tutorial surveyState="surveyState"/>
</ion-content>
<ion-footer-bar class="no-bgColor" id="intro-footer">
<button class="button button-block button-outline button-positive" ng-click="next()">
Expand Down

0 comments on commit d48bba1

Please sign in to comment.