enhance(client): アカウント情報の取得に失敗したとき強制ログアウトではなく警告を表示するように
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user