From 9af92fd6266dc290613980b999d50e9f048655dc Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Fri, 9 Sep 2022 10:27:59 +0100 Subject: [PATCH] [PS-1387] Desktop: Remove "delete account" from settings (#3406) --- apps/desktop/src/app/accounts/settings.component.html | 8 -------- apps/desktop/src/app/accounts/settings.component.ts | 6 ------ 2 files changed, 14 deletions(-) diff --git a/apps/desktop/src/app/accounts/settings.component.html b/apps/desktop/src/app/accounts/settings.component.html index 33abdc934c..420ee20a39 100644 --- a/apps/desktop/src/app/accounts/settings.component.html +++ b/apps/desktop/src/app/accounts/settings.component.html @@ -108,14 +108,6 @@ - -
- - - {{ "deleteAccountDesc" | i18n }} - {{ "deleteAccount" | i18n }} - -
diff --git a/apps/desktop/src/app/accounts/settings.component.ts b/apps/desktop/src/app/accounts/settings.component.ts index 24c1ba576f..ec9744f654 100644 --- a/apps/desktop/src/app/accounts/settings.component.ts +++ b/apps/desktop/src/app/accounts/settings.component.ts @@ -18,8 +18,6 @@ import { isWindowsStore } from "@bitwarden/electron/utils"; import { SetPinComponent } from "../components/set-pin.component"; -import { DeleteAccountComponent } from "./delete-account.component"; - @Component({ selector: "app-settings", templateUrl: "settings.component.html", @@ -439,8 +437,4 @@ export class SettingsComponent implements OnInit { this.enableBrowserIntegrationFingerprint ); } - - async openDeleteAccount() { - this.modalService.open(DeleteAccountComponent, { replaceTopModal: true }); - } }