File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 34
34
</div >
35
35
</div >
36
36
37
- <button class =" btn w-full btn-success mt-8" :disabled =" loading" :class = " { 'loading' : loading } " @click =" singIn" >{{ $t('loginPage.actions.singIn') }}</button >
37
+ <button class =" btn w-full btn-success mt-8" :disabled =" loading" @click =" singIn" >{{ $t('loginPage.actions.singIn') }}</button >
38
38
39
39
<div class =" w-full flex justify-end mt-2" v-if =" registrationEnabled" >
40
40
<div class =" text-base-content text-sm underline" :class =" { 'text-opacity-50' : loading}" >
@@ -111,8 +111,9 @@ const singIn = async () => {
111
111
112
112
$auth .auth (data .value .token , data .value .lifetimeDays );
113
113
114
- loading .value = false ;
115
- navigateTo (" /" );
114
+ navigateTo (" /" ).then (() => {
115
+ loading .value = false ;
116
+ })
116
117
}
117
118
118
119
const registrationEnabled = configs .registration .enabled ;
You can’t perform that action at this time.
0 commit comments