Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Commit 8458197

Browse files
authored
fix: fix null injection (#98)
1 parent e33d110 commit 8458197

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

apps/gauzy/src/app/app.module.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,14 @@ import { ExtraOptions, Router, RouterModule } from '@angular/router';
88
import { BrowserModule } from '@angular/platform-browser';
99
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
1010
import { AkitaNgDevtools } from '@datorama/akita-ngdevtools';
11-
import { NbMenuModule, NbChatModule, NbDialogModule, NbToastrModule, NbWindowModule } from '@nebular/theme';
11+
import {
12+
NbMenuModule,
13+
NbChatModule,
14+
NbDialogModule,
15+
NbToastrModule,
16+
NbWindowModule,
17+
NbDatepickerModule
18+
} from '@nebular/theme';
1219
import { NbEvaIconsModule } from '@nebular/eva-icons';
1320
import { TranslateModule, TranslateLoader } from '@ngx-translate/core';
1421
import { FileUploadModule } from 'ng2-file-upload';
@@ -76,6 +83,7 @@ const NB_MODULES = [
7683
NbDialogModule.forRoot(),
7784
NbWindowModule.forRoot(),
7885
NbToastrModule.forRoot(),
86+
NbDatepickerModule.forRoot(),
7987
NbChatModule.forRoot({ messageGoogleMapKey: environment.CHAT_MESSAGE_GOOGLE_MAP }),
8088
NbEvaIconsModule
8189
];

apps/gauzy/src/app/pages/pages.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { NgModule } from '@angular/core';
22
import { CommonModule } from '@angular/common';
3-
import { NbSpinnerModule, NbIconModule, NbSidebarModule, NbDatepickerModule } from '@nebular/theme';
3+
import { NbSpinnerModule, NbIconModule, NbSidebarModule } from '@nebular/theme';
44
import { FeatureToggleModule as NgxFeatureToggleModule } from 'ngx-feature-toggle';
55
import { AuthService, CommonNavModule, RoleGuard } from '@gauzy/ui-core/core';
66
import { MiscellaneousModule } from '@gauzy/ui-core/shared';
77
import { ThemeModule } from '@gauzy/ui-core/theme';
88
import { PagesComponent } from './pages.component';
99
import { PagesRoutingModule } from './pages-routing.module';
1010

11-
const NB_MODULES = [NbSpinnerModule, NbIconModule, NbSidebarModule.forRoot(), NbDatepickerModule.forRoot()];
11+
const NB_MODULES = [NbSpinnerModule, NbIconModule, NbSidebarModule.forRoot()];
1212

1313
@NgModule({
1414
imports: [

0 commit comments

Comments
 (0)