Browse Source

Merge branch 'from/develop/tusooa/lang-opts' into 'develop'

Fix registration error

See merge request pleroma/pleroma-fe!1527
HJ 2 years ago
parent
commit
48c739027c
1 changed files with 3 additions and 3 deletions
  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>