diff --git a/apps/desktop/src/app/app.module.ts b/apps/desktop/src/app/app.module.ts index 52a52ffd225..0d87b6db989 100644 --- a/apps/desktop/src/app/app.module.ts +++ b/apps/desktop/src/app/app.module.ts @@ -28,6 +28,7 @@ import { HeaderComponent } from "./layout/header.component"; import { NavComponent } from "./layout/nav.component"; import { SearchComponent } from "./layout/search/search.component"; import { SharedModule } from "./shared/shared.module"; +import { ToastContainerComponent } from "libs/components/src/toast/toast-container.component"; @NgModule({ imports: [ @@ -53,6 +54,7 @@ import { SharedModule } from "./shared/shared.module"; PremiumComponent, SearchComponent, ], + exports: [HeaderComponent, ToastContainerComponent], providers: [ SshAgentService, { diff --git a/bitwarden_license/bit-desktop/src/app/app.module.ts b/bitwarden_license/bit-desktop/src/app/app.module.ts index e209d25af13..2583dc6e2b9 100644 --- a/bitwarden_license/bit-desktop/src/app/app.module.ts +++ b/bitwarden_license/bit-desktop/src/app/app.module.ts @@ -3,44 +3,18 @@ import "zone.js"; // Register the locales for the application import "@bitwarden/desktop/platform/app/locales"; +import { CommonModule } from "@angular/common"; import { NgModule } from "@angular/core"; -import { BrowserAnimationsModule } from "@angular/platform-browser/animations"; -import { CalloutModule, DialogModule } from "@bitwarden/components"; -import { AppRoutingModule as OssAppRoutingModule } from "@bitwarden/desktop/app/app-routing.module"; +import { AppRoutingModule as OssRoutingModule } from "@bitwarden/desktop/app/app-routing.module"; import { AppModule as OssModule } from "@bitwarden/desktop/app/app.module"; -import { UserVerificationComponent } from "@bitwarden/desktop/app/components/user-verification.component"; -import { NavComponent } from "@bitwarden/desktop/app/layout/nav.component"; -import { SharedModule } from "@bitwarden/desktop/app/shared/shared.module"; -import { DeleteAccountComponent } from "@bitwarden/desktop/auth/delete-account.component"; -import { LoginModule } from "@bitwarden/desktop/auth/login/login.module"; -import { SshAgentService } from "@bitwarden/desktop/autofill/services/ssh-agent.service"; -import { VaultFilterModule } from "@bitwarden/desktop/vault/app/vault/vault-filter/vault-filter.module"; -import { VaultV2Component } from "@bitwarden/desktop/vault/app/vault/vault-v2.component"; -import { AssignCollectionsComponent } from "@bitwarden/vault"; import { AppRoutingModule } from "./app-routing.module"; import { AppComponent } from "./app.component"; @NgModule({ - imports: [ - BrowserAnimationsModule, - SharedModule, - OssModule, - OssAppRoutingModule, - AppRoutingModule, - VaultFilterModule, - LoginModule, - DialogModule, - CalloutModule, - DeleteAccountComponent, - UserVerificationComponent, - NavComponent, - AssignCollectionsComponent, - VaultV2Component, - ], + imports: [CommonModule, OssModule, OssRoutingModule, AppRoutingModule], declarations: [AppComponent], - providers: [SshAgentService], bootstrap: [AppComponent], }) export class AppModule {}