Skip to content

Commit 357cb8b

Browse files
committed
Simplify call to UIWindowConfirmUserDeletion
1 parent f18e349 commit 357cb8b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/gui/src/UI/Dashboard/TabAccount.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,7 @@ const TabAccount = {
159159
});
160160
});
161161
$el_window.find('.dashboard-section-account .delete-account').on('click', function (e) {
162-
UIWindowConfirmUserDeletion({
163-
window_options: {
164-
parent_uuid: $el_window.attr('data-element_uuid'),
165-
disable_parent_window: true,
166-
parent_center: true,
167-
},
168-
});
162+
UIWindowConfirmUserDeletion();
169163
});
170164
$el_window.find('.dashboard-section-account .change-profile-picture').on('click', async function (e) {
171165
// open dialog

0 commit comments

Comments
 (0)