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