feat(client): アカウント削除に確認ダイアログを出すように
This commit is contained in:
@ -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: {
|
||||
|
Reference in New Issue
Block a user