Просмотр исходного кода

:construction: Set up for redirect after finish of survey

tabs-content
tomit4 3 лет назад
Родитель
Сommit
a6ae1f469a

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

@@ -54,7 +54,8 @@ export default {
54 54
 </script>
55 55
 
56 56
 <style>
57
-h3 {
57
+h3,
58
+input[placeholder] {
58 59
     text-align: center;
59 60
 }
60 61
 input {

+ 1
- 1
frontend/src/views/OnboardingView.vue Просмотреть файл

@@ -53,7 +53,7 @@ export default {
53 53
     methods: {
54 54
         onSubmit() {
55 55
             console.log(JSON.stringify(this.answered))
56
-            this.survey = null
56
+            this.$router.push({ name: 'SurveyView' })
57 57
         },
58 58
         goToStep(num) {
59 59
             this.currentStep = num

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