1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 17:53:39 +00:00

[SM-451] Remove NavigationModule from SharedModule (#4510)

* Remove NavigationModule from SharedModule

* Update apps/web/src/app/shared/shared.module.ts
This commit is contained in:
Oscar Hinton
2023-01-23 10:10:25 +01:00
committed by GitHub
parent 139826ffe6
commit 72ec05a3e6
3 changed files with 24 additions and 17 deletions

View File

@@ -0,0 +1,14 @@
import { NgModule } from "@angular/core";
import { NavigationModule } from "@bitwarden/components";
import { SharedModule } from "@bitwarden/web-vault/app/shared/shared.module";
import { LayoutComponent } from "./layout.component";
import { NavigationComponent } from "./navigation.component";
import { OrgSwitcherComponent } from "./org-switcher.component";
@NgModule({
imports: [SharedModule, NavigationModule],
declarations: [LayoutComponent, NavigationComponent, OrgSwitcherComponent],
})
export class LayoutModule {}

View File

@@ -2,16 +2,13 @@ import { NgModule } from "@angular/core";
import { SharedModule } from "@bitwarden/web-vault/app/shared";
import { LayoutComponent } from "./layout/layout.component";
import { NavigationComponent } from "./layout/navigation.component";
import { OrgSwitcherComponent } from "./layout/org-switcher.component";
import { LayoutModule } from "./layout/layout.module";
import { SecretsManagerSharedModule } from "./shared/sm-shared.module";
import { SecretsManagerRoutingModule } from "./sm-routing.module";
import { SMGuard } from "./sm.guard";
@NgModule({
imports: [SharedModule, SecretsManagerSharedModule, SecretsManagerRoutingModule],
declarations: [LayoutComponent, NavigationComponent, OrgSwitcherComponent],
imports: [SharedModule, SecretsManagerSharedModule, SecretsManagerRoutingModule, LayoutModule],
providers: [SMGuard],
})
export class SecretsManagerModule {}