mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-21 02:11:54 +01:00
Removed buttons (#5935)
This commit is contained in:
parent
667e8aa550
commit
c1006cfa59
@ -78,12 +78,6 @@ const systemTimeoutOptions = {
|
|||||||
<ng-template #loginApproval></ng-template>
|
<ng-template #loginApproval></ng-template>
|
||||||
<app-header></app-header>
|
<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 id="container">
|
||||||
<div class="loading" *ngIf="loading">
|
<div class="loading" *ngIf="loading">
|
||||||
<i class="bwi bwi-spinner bwi-spin bwi-3x" aria-hidden="true"></i>
|
<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
|
private dialogService: DialogServiceAbstraction
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
goTo(route: string) {
|
|
||||||
this.router.navigate([route]);
|
|
||||||
}
|
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.stateService.activeAccount$.pipe(takeUntil(this.destroy$)).subscribe((userId) => {
|
this.stateService.activeAccount$.pipe(takeUntil(this.destroy$)).subscribe((userId) => {
|
||||||
this.activeUserId = userId;
|
this.activeUserId = userId;
|
||||||
|
Loading…
Reference in New Issue
Block a user