From 357cb8bcca218d30ce89858c0c8c61623bf4e6a6 Mon Sep 17 00:00:00 2001 From: jelveh Date: Tue, 9 Dec 2025 23:55:49 -0800 Subject: [PATCH] Simplify call to `UIWindowConfirmUserDeletion` --- src/gui/src/UI/Dashboard/TabAccount.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/gui/src/UI/Dashboard/TabAccount.js b/src/gui/src/UI/Dashboard/TabAccount.js index 8353db9a9..b1170de46 100644 --- a/src/gui/src/UI/Dashboard/TabAccount.js +++ b/src/gui/src/UI/Dashboard/TabAccount.js @@ -159,13 +159,7 @@ const TabAccount = { }); }); $el_window.find('.dashboard-section-account .delete-account').on('click', function (e) { - UIWindowConfirmUserDeletion({ - window_options: { - parent_uuid: $el_window.attr('data-element_uuid'), - disable_parent_window: true, - parent_center: true, - }, - }); + UIWindowConfirmUserDeletion(); }); $el_window.find('.dashboard-section-account .change-profile-picture').on('click', async function (e) { // open dialog