Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PS-1387] Desktop: Remove "delete account" from settings #3406

Merged
merged 7 commits into from
Sep 9, 2022
8 changes: 0 additions & 8 deletions apps/desktop/src/app/accounts/settings.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,6 @@ <h2>
</label>
</div>
</div>

<div class="form-group">
<label>{{ "deleteAccount" | i18n }}</label>
<small class="help-block">
{{ "deleteAccountDesc" | i18n }}
<a (click)="openDeleteAccount()">{{ "deleteAccount" | i18n }}</a>
</small>
</div>
</ng-container>
</div>
</div>
Expand Down
6 changes: 0 additions & 6 deletions apps/desktop/src/app/accounts/settings.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -439,8 +437,4 @@ export class SettingsComponent implements OnInit {
this.enableBrowserIntegrationFingerprint
);
}

async openDeleteAccount() {
this.modalService.open(DeleteAccountComponent, { replaceTopModal: true });
}
}