|
|
@@ -14,7 +14,15 @@ main.view--surveycomplete
|
|
14
|
14
|
p {{ aspectResponse.response }}
|
|
15
|
15
|
br
|
|
16
|
16
|
br
|
|
17
|
|
- w-button.ma1(@click="changeAnswers") Change Answers
|
|
|
17
|
+ // TODO: Bring user to another View.vue page that allows
|
|
|
18
|
+ // them to change their answers to the survey
|
|
|
19
|
+ // OR render radio buttons next to the questions/answers above,
|
|
|
20
|
+ // allowing them to return to ONLY that specific survey step
|
|
|
21
|
+ // using this.$emit('somefunc') back up to OnboardingView.vue
|
|
|
22
|
+ // Toggling a boolean flag that prevents "SUBMIT" from goToStep(),
|
|
|
23
|
+ // and instead brings them back here...
|
|
|
24
|
+ //
|
|
|
25
|
+ // w-button.ma1(@click="changeAnswers") Change Answers
|
|
18
|
26
|
</template>
|
|
19
|
27
|
|
|
20
|
28
|
<script>
|
|
|
@@ -57,6 +65,7 @@ export default {
|
|
57
|
65
|
}
|
|
58
|
66
|
})
|
|
59
|
67
|
},
|
|
|
68
|
+ // Grabs all responses to questions that are NOT aspect questions
|
|
60
|
69
|
grabResponsesFromProfile(aspectQuestions) {
|
|
61
|
70
|
const aspectQuestionsKeys = Object.keys(aspectQuestions).map(Number)
|
|
62
|
71
|
const responses = currentProfile._profile.responses
|
|
|
@@ -96,6 +105,7 @@ export default {
|
|
96
|
105
|
return typeof res === 'object'
|
|
97
|
106
|
})
|
|
98
|
107
|
},
|
|
|
108
|
+ // changeAnswers() {},
|
|
99
|
109
|
},
|
|
100
|
110
|
}
|
|
101
|
111
|
</script>
|