From 5981267f6822c3c2fa312d917b6358c081cc15e5 Mon Sep 17 00:00:00 2001 From: alma Date: Mon, 28 Apr 2025 18:21:49 +0200 Subject: [PATCH] courrier multi account restore compose --- app/courrier/page.tsx | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/app/courrier/page.tsx b/app/courrier/page.tsx index 6b2dcda1..a99506b1 100644 --- a/app/courrier/page.tsx +++ b/app/courrier/page.tsx @@ -1296,7 +1296,6 @@ export default function CourrierPage() { toast({ title: 'Password updated', description: 'Password changed successfully.' }); setShowEditModal(false); setNewPassword(''); - // Refresh accounts (re-fetch or reload page) window.location.reload(); } catch (err) { toast({ title: 'Error', description: err instanceof Error ? err.message : 'Failed to update password', variant: 'destructive' }); @@ -1310,6 +1309,7 @@ export default function CourrierPage() {
+
@@ -1322,6 +1322,31 @@ export default function CourrierPage() { Delete Account Are you sure you want to delete this account? This action cannot be undone. + + + + setShowDeleteDialog(false)}>Cancel + + + + + + ); } \ No newline at end of file