Skip to content

Commit

Permalink
Fixed oauth methods display (#239)
Browse files Browse the repository at this point in the history
## Изменения
Починил отображение методов входа оаутх.

## Детали реализации

- Проверялось неправильное условие
  • Loading branch information
BatuevIO authored Sep 29, 2024
1 parent 0607327 commit 73d338a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/profile/ProfileEditAuthView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ onMounted(async () => {
profileStore.updateToken(history.state.token);
delete history.state.token;
}
if (!profileStore.authMethods) {
if (profileStore.authMethods?.length == 0) {
AuthApi.getMe(['auth_methods']);
}
});
Expand Down

0 comments on commit 73d338a

Please sign in to comment.