enhance(client): アカウント情報の取得に失敗したとき強制ログアウトではなく警告を表示するように
This commit is contained in:
parent
083b913dd2
commit
863b6c48f8
2 changed files with 6 additions and 1 deletions
|
@ -89,7 +89,11 @@ function fetchAccount(token): Promise<Account> {
|
|||
signout();
|
||||
});
|
||||
} else {
|
||||
signout();
|
||||
alert({
|
||||
type: 'error',
|
||||
title: i18n.ts.failedToFetchAccountInformation,
|
||||
text: JSON.stringify(res.error),
|
||||
});
|
||||
}
|
||||
} else {
|
||||
res.token = token;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue