From 2d8a50889819e9c2f497d2c74959d9e1871b320f Mon Sep 17 00:00:00 2001 From: nobswebdev Date: Mon, 7 Sep 2026 02:08:22 +0200 Subject: [PATCH] Fix Monero withdraw form reset after successful withdrawal. Use resetFields so validation state clears without re-triggering required rules on an empty address. --- cms/src/components/wallet/MoneroWallet.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cms/src/components/wallet/MoneroWallet.vue b/cms/src/components/wallet/MoneroWallet.vue index 4d21318..41b7f0d 100644 --- a/cms/src/components/wallet/MoneroWallet.vue +++ b/cms/src/components/wallet/MoneroWallet.vue @@ -263,8 +263,7 @@ const onWithdrawSubmit = async (): Promise => { }); } - withdrawForm.destinationAddress = ''; - withdrawFormRef.value?.clearValidate(); + withdrawFormRef.value?.resetFields(); await loadWalletStatus(); } catch (error) { @@ -277,7 +276,7 @@ const onWithdrawSubmit = async (): Promise => { const onRevealSeedClick = async (): Promise => { try { await ElMessageBox.confirm( - 'The recovery seed grants full control over this shop wallet. Store it offline. Never share it or enter it on untrusted sites.', + 'The recovery seed grants full control over this shop wallet. Store it offline. Never share it with anyone.', 'Reveal recovery seed?', { confirmButtonText: 'I understand',