1
0
mirror of https://github.com/bitwarden/web synced 2026-01-20 01:13:32 +00:00

Use SharedModule and LayoutsModule in ProvidersModule

This commit is contained in:
Thomas Rittson
2022-05-11 13:08:27 +10:00
parent fda00fce4b
commit bb8165555b
3 changed files with 18 additions and 15 deletions

View File

@@ -0,0 +1,13 @@
import { NgModule } from "@angular/core";
import { FooterComponent } from "../layouts/footer.component";
import { FrontendLayoutComponent } from "../layouts/frontend-layout.component";
import { NavbarComponent } from "../layouts/navbar.component";
import { SharedModule } from "../modules/shared.module";
@NgModule({
imports: [SharedModule],
declarations: [NavbarComponent, FooterComponent, FrontendLayoutComponent],
exports: [NavbarComponent, FooterComponent],
})
export class LayoutsModule {}

View File

@@ -22,9 +22,7 @@ import { VerifyRecoverDeleteComponent } from "../accounts/verify-recover-delete.
import { NestedCheckboxComponent } from "../components/nested-checkbox.component";
import { PasswordRepromptComponent } from "../components/password-reprompt.component";
import { PremiumBadgeComponent } from "../components/premium-badge.component";
import { FooterComponent } from "../layouts/footer.component";
import { FrontendLayoutComponent } from "../layouts/frontend-layout.component";
import { NavbarComponent } from "../layouts/navbar.component";
import { LayoutsModule } from "../layouts/layouts.module";
import { UserLayoutComponent } from "../layouts/user-layout.component";
import { ProvidersComponent } from "../providers/providers.component";
import { BreachReportComponent } from "../reports/breach-report.component";
@@ -113,7 +111,7 @@ import { OrganizationBadgeModule } from "./vault/modules/organization-badge/orga
// Please do not add to this list of declarations - we should refactor these into modules when doing so makes sense until there are none left.
// If you are building new functionality, please create or extend a feature module instead.
@NgModule({
imports: [SharedModule, VaultFilterModule, OrganizationBadgeModule, PipesModule],
imports: [SharedModule, VaultFilterModule, OrganizationBadgeModule, PipesModule, LayoutsModule],
declarations: [
PremiumBadgeComponent,
AcceptEmergencyComponent,
@@ -154,15 +152,12 @@ import { OrganizationBadgeModule } from "./vault/modules/organization-badge/orga
ExportComponent,
ExposedPasswordsReportComponent,
FolderAddEditComponent,
FooterComponent,
FrontendLayoutComponent,
HintComponent,
ImportComponent,
InactiveTwoFactorReportComponent,
LinkSsoComponent,
LockComponent,
LoginComponent,
NavbarComponent,
NestedCheckboxComponent,
GeneratorComponent,
PasswordGeneratorHistoryComponent,
@@ -260,15 +255,12 @@ import { OrganizationBadgeModule } from "./vault/modules/organization-badge/orga
ExportComponent,
ExposedPasswordsReportComponent,
FolderAddEditComponent,
FooterComponent,
FrontendLayoutComponent,
HintComponent,
ImportComponent,
InactiveTwoFactorReportComponent,
LinkSsoComponent,
LockComponent,
LoginComponent,
NavbarComponent,
NestedCheckboxComponent,
GeneratorComponent,
PasswordGeneratorHistoryComponent,