mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 03:17:38 -07:00
feat(client): アカウント削除に確認ダイアログを出すように
This commit is contained in:
parent
1966e8dd08
commit
e04500e36e
3 changed files with 17 additions and 0 deletions
|
@ -7,6 +7,13 @@
|
|||
|
||||
-->
|
||||
|
||||
## 12.x.x (unreleased)
|
||||
|
||||
### Improvements
|
||||
- アカウント削除に確認ダイアログを出すように
|
||||
|
||||
### Bugfixes
|
||||
|
||||
## 12.96.1 (2021/11/13)
|
||||
### Improvements
|
||||
- npm scriptの互換性を向上
|
||||
|
|
|
@ -806,6 +806,7 @@ muteThread: "スレッドをミュート"
|
|||
unmuteThread: "スレッドのミュートを解除"
|
||||
ffVisibility: "つながりの公開範囲"
|
||||
ffVisibilityDescription: "自分のフォロー/フォロワー情報の公開範囲を設定できます。"
|
||||
deleteAccountConfirm: "アカウントが削除されます。よろしいですか?"
|
||||
|
||||
_emailUnavailable:
|
||||
used: "既に使用されています"
|
||||
|
|
|
@ -45,6 +45,15 @@ export default defineComponent({
|
|||
|
||||
methods: {
|
||||
async deleteAccount() {
|
||||
{
|
||||
const { canceled } = await os.dialog({
|
||||
type: 'warning',
|
||||
text: this.$ts.deleteAccountConfirm,
|
||||
showCancelButton: true
|
||||
});
|
||||
if (canceled) return;
|
||||
}
|
||||
|
||||
const { canceled, result: password } = await os.dialog({
|
||||
title: this.$ts.password,
|
||||
input: {
|
||||
|
|
Loading…
Reference in a new issue