From d6fff471636f6ec4cafd03c70186ea9728eb6c73 Mon Sep 17 00:00:00 2001 From: Nicola Lanzilotto Date: Mon, 25 Mar 2024 16:39:30 +0100 Subject: [PATCH] Minor improvements --- src/app/app.module.ts | 4 ++-- src/app/home/home.module.ts | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index e9e465f141e6..8d0925f3c7c3 100755 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -376,7 +376,7 @@ import { OnboardingWelcomeComponent } from './create-new-project/onboarding-welc import { HomeNewsFeedModalComponent } from './home-components/home-news-feed/home-news-feed-modal/home-news-feed-modal.component'; import { AutomationsComponent } from './automations/automations.component'; import { MatAutocompleteModule } from '@angular/material/autocomplete'; -import { HomeCdsComponent } from './home-components/home-cds/home-cds.component'; +// import { HomeCdsComponent } from './home-components/home-cds/home-cds.component'; // now lazy import { AutomationStaticComponent } from './static-pages/automation-static/automation-static.component'; // import { KbModalComponent } from './knowledge-bases/kb-modal/kb-modal.component'; // import { KbAlertComponent } from './knowledge-bases/kb-alert/kb-alert.component'; @@ -691,7 +691,7 @@ const appInitializerFn = (appConfig: AppConfigService, brandService: BrandServic OnboardingWelcomeComponent, HomeNewsFeedModalComponent, AutomationsComponent, - HomeCdsComponent, + // HomeCdsComponent, // now lazy AutomationStaticComponent, // KbModalComponent, // KbAlertComponent, diff --git a/src/app/home/home.module.ts b/src/app/home/home.module.ts index d1bb66d256f0..cde2d6dbeb7c 100644 --- a/src/app/home/home.module.ts +++ b/src/app/home/home.module.ts @@ -20,6 +20,7 @@ import { HomeWhatsappAccountWizardModalComponent } from 'app/home-components/hom import { HomeCustomizeWidgetComponent } from 'app/home-components/home-customize-widget/home-customize-widget.component'; import { HomeCreateTeammateComponent } from 'app/home-components/home-create-teammate/home-create-teammate.component'; import { HomeKbComponent } from 'app/home-components/home-kb/home-kb.component'; +import { HomeCdsComponent } from 'app/home-components/home-cds/home-cds.component'; const routes: Routes = [ { path: "", component: HomeComponent}, ]; @@ -36,7 +37,8 @@ const routes: Routes = [ HomeWhatsappAccountWizardModalComponent, HomeCustomizeWidgetComponent, HomeCreateTeammateComponent, - HomeKbComponent + HomeKbComponent, + HomeCdsComponent ], imports: [ RouterModule.forChild(routes),