[PS-1387] Desktop: Remove "delete account" from settings (#3406)
This commit is contained in:
parent
f0ed4f2086
commit
9af92fd626
|
@ -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>
|
||||
|
|
|
@ -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 });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue