diaseu 4 лет назад
Родитель
Сommit
cb9b7fc37b
2 измененных файлов: 4 добавлений и 2 удалений
  1. 2
    2
      frontend/src/components/form.vue
  2. 2
    0
      frontend/src/services/survey.service.js

+ 2
- 2
frontend/src/components/form.vue Просмотреть файл

@@ -21,7 +21,7 @@
21 21
                     @click='respondFromTag'
22 22
                     v-for='response in prompt.responses'
23 23
                 ) {{ response }}
24
-            //- TODO: Checklist
24
+            //- Checklist
25 25
             .response-wrapper(v-if='prompt.type === "checklist"')
26 26
                 .checklist(
27 27
                     v-for='(response, index) in prompt.responses'
@@ -35,7 +35,7 @@
35 35
                         false-value=''
36 36
                         v-model='answers[makeKebob(prompt.question)]')
37 37
                     label(:for='response') {{ response }}
38
-            //- TODO: Slider from -3 to 0 to +3 (increments of 1)
38
+            //- Slider from -3 to 0 to +3 (increments of 1)
39 39
             .response-wrapper(v-else-if='prompt.type === "slide"')
40 40
                 label {{ prompt.type }}
41 41
                 input(

+ 2
- 0
frontend/src/services/survey.service.js Просмотреть файл

@@ -87,6 +87,8 @@ const fetchSurveyByProfileId = async profileId => {
87 87
 // TODO: saveSurveyByProfileID - needs await, db.post
88 88
 const saveSurveyByProfileID = async profileID => {
89 89
     const myresponses = await db.post(`/${profileId}/respond`)
90
+    
91
+    
90 92
 }
91 93
 
92 94
 export { fetchSurveyByProfileId }

Загрузка…
Отмена
Сохранить