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

This commit is contained in:
Patrick H. Lauke 2022-09-09 10:27:59 +01:00 committed by GitHub
parent f0ed4f2086
commit 9af92fd626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 14 deletions

View File

@ -108,14 +108,6 @@
</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>

View File

@ -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 });
}
}