Procházet zdrojové kódy

removed some todo comments

tags/0.0.1
diaseu před 4 roky
rodič
revize
7b7b4129e4
1 změnil soubory, kde provedl 0 přidání a 6 odebrání
  1. 0
    6
      frontend/src/components/form.vue

+ 0
- 6
frontend/src/components/form.vue Zobrazit soubor

@@ -110,13 +110,7 @@ const isValid = step => {
110 110
 const next = e => {
111 111
     const validity = isValid(state.step - 1)
112 112
     if (validity.error) return console.error(validity.error)
113
-    // TODO: make steps work,
114
-    // Save or next
115 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 114
         const questiontoResponseKeyId = {}
121 115
         props.form.forEach(step => {
122 116
             step.forEach(prompt => {

Načítá se…
Zrušit
Uložit