enhance(frontend): アカウント削除前ダイアログに再ログインすると削除が中断される旨の表記を追加 (MisskeyIO#726)
This commit is contained in:
parent
00fd684a7b
commit
2fe5bb0bb3
4 changed files with 19 additions and 1 deletions
|
@ -114,7 +114,9 @@ async function deleteAccount() {
|
|||
{
|
||||
const { canceled } = await os.confirm({
|
||||
type: 'warning',
|
||||
text: i18n.ts.deleteAccountConfirm,
|
||||
text: i18n.ts.deleteAccountConfirmAndWarn,
|
||||
okWaitInitiate: 'dialog',
|
||||
okWaitDuration: 5,
|
||||
});
|
||||
if (canceled) return;
|
||||
}
|
||||
|
@ -129,6 +131,7 @@ async function deleteAccount() {
|
|||
|
||||
await os.alert({
|
||||
title: i18n.ts._accountDelete.started,
|
||||
text: i18n.ts._accountDelete.dontLogin,
|
||||
});
|
||||
|
||||
await signout();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue