Bladeren bron

removed some todo comments

tags/0.0.1
diaseu 4 jaren geleden
bovenliggende
commit
7b7b4129e4
1 gewijzigde bestanden met toevoegingen van 0 en 6 verwijderingen
  1. 0
    6
      frontend/src/components/form.vue

+ 0
- 6
frontend/src/components/form.vue Bestand weergeven

110
 const next = e => {
110
 const next = e => {
111
     const validity = isValid(state.step - 1)
111
     const validity = isValid(state.step - 1)
112
     if (validity.error) return console.error(validity.error)
112
     if (validity.error) return console.error(validity.error)
113
-    // TODO: make steps work,
114
-    // Save or next
115
     if (state.step === props.form.length) {
113
     if (state.step === props.form.length) {
116
-        // TODO: call survey service
117
-        // TODO: in the survey service, create a save function
118
-        // call service from here, pass it profile id as argument
119
-        // profileId = answers['what-is-your-user-id']
120
         const questiontoResponseKeyId = {}
114
         const questiontoResponseKeyId = {}
121
         props.form.forEach(step => {
115
         props.form.forEach(step => {
122
             step.forEach(prompt => {
116
             step.forEach(prompt => {

Laden…
Annuleren
Opslaan