From 2aff64bcdc5fe916601c99f01f2aea552a961fb5 Mon Sep 17 00:00:00 2001 From: Nutomic Date: Tue, 5 Mar 2024 14:58:08 +0100 Subject: [PATCH] On account deletion add 'delete content' checkbox (fixes #2384) (#2385) * On account deletion add 'delete content' checkbox (fixes #2384) * css * rename * i18n --- src/shared/components/person/settings.tsx | 29 +++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/src/shared/components/person/settings.tsx b/src/shared/components/person/settings.tsx index f5df1c43..fe12640e 100644 --- a/src/shared/components/person/settings.tsx +++ b/src/shared/components/person/settings.tsx @@ -108,6 +108,7 @@ interface SettingsState { old_password?: string; }; deleteAccountForm: { + delete_content?: boolean; password?: string; }; personBlocks: PersonBlockView[]; @@ -1094,6 +1095,25 @@ export class Settings extends Component { )} className="my-2" /> +
+
+ + +
+