Parcourir la source

Fix registration error

Tusooa Zhu il y a 2 ans
Parent
commit
79ee77a6fe
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      src/components/registration/registration.vue

+ 3 - 3
src/components/registration/registration.vue

@@ -164,13 +164,13 @@
 
             <div
               class="form-group"
-              :class="{ 'form-group--error': $v.user.language.$error }"
+              :class="{ 'form-group--error': v$.user.language.$error }"
             >
               <interface-language-switcher
                 for="email-language"
                 :prompt-text="$t('registration.email_language')"
-                :language="$v.user.language.$model"
-                :set-language="val => $v.user.language.$model = val"
+                :language="v$.user.language.$model"
+                :set-language="val => v$.user.language.$model = val"
               />
             </div>