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:
@@ -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 {}
|
||||
@@ -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 {}
|
||||
|
||||
Reference in New Issue
Block a user