Skip to content
Snippets Groups Projects
Commit 863b6c48 authored by syuilo's avatar syuilo
Browse files

enhance(client): アカウント情報の取得に失敗したとき強制ログアウトではなく警告を表示するように

parent 083b913d
No related branches found
Tags 12.41.1
No related merge requests found
......@@ -841,6 +841,7 @@ oneHour: "1時間"
oneDay: "1日"
oneWeek: "1週間"
reflectMayTakeTime: "反映されるまで時間がかかる場合があります。"
failedToFetchAccountInformation: "アカウント情報の取得に失敗しました"
_emailUnavailable:
used: "既に使用されています"
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment