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