1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-20 02:01:47 +01:00

Removed buttons (#5935)

This commit is contained in:
Todd Martin 2023-08-01 19:40:44 -04:00 committed by GitHub
parent 667e8aa550
commit c1006cfa59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,12 +78,6 @@ const systemTimeoutOptions = {
<ng-template #loginApproval></ng-template>
<app-header></app-header>
<!-- TODO: remove these new buttons and new goTo method -->
<div class="d-flex flex-row justify-content-between">
<button class="btn btn-primary mr-2" (click)="goTo('/login')">Login</button>
<button class="btn btn-primary" (click)="goTo('/login-initiated')">Login Initiated</button>
</div>
<div id="container">
<div class="loading" *ngIf="loading">
<i class="bwi bwi-spinner bwi-spin bwi-3x" aria-hidden="true"></i>
@ -148,10 +142,6 @@ export class AppComponent implements OnInit, OnDestroy {
private dialogService: DialogServiceAbstraction
) {}
goTo(route: string) {
this.router.navigate([route]);
}
ngOnInit() {
this.stateService.activeAccount$.pipe(takeUntil(this.destroy$)).subscribe((userId) => {
this.activeUserId = userId;