mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-21 16:18:28 +01:00
Add missing RouterModule to the CurrentAccountComponent (#9295)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
parent
983a82c0ba
commit
3ba19d8c9d
@ -1,6 +1,6 @@
|
||||
import { CommonModule, Location } from "@angular/common";
|
||||
import { Component } from "@angular/core";
|
||||
import { ActivatedRoute, Router } from "@angular/router";
|
||||
import { ActivatedRoute, Router, RouterModule } from "@angular/router";
|
||||
import { Observable, combineLatest, switchMap } from "rxjs";
|
||||
|
||||
import { JslibModule } from "@bitwarden/angular/jslib.module";
|
||||
@ -23,7 +23,7 @@ export type CurrentAccount = {
|
||||
selector: "app-current-account",
|
||||
templateUrl: "current-account.component.html",
|
||||
standalone: true,
|
||||
imports: [CommonModule, JslibModule, AvatarModule],
|
||||
imports: [CommonModule, JslibModule, AvatarModule, RouterModule],
|
||||
})
|
||||
export class CurrentAccountComponent {
|
||||
currentAccount$: Observable<CurrentAccount>;
|
||||
|
Loading…
Reference in New Issue
Block a user