mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-21 18:00:13 +01:00
Fix post-upgrade errors
This commit is contained in:
parent
bb1a759acf
commit
8d749466f9
5 changed files with 12 additions and 23 deletions
|
|
@ -74,18 +74,10 @@ const PIPES = [
|
|||
imports: [CommonModule, ...NB_MODULES],
|
||||
exports: [CommonModule, ...PIPES, ...COMPONENTS],
|
||||
declarations: [...COMPONENTS, ...PIPES],
|
||||
providers: [
|
||||
...NbThemeModule.forRoot(
|
||||
{
|
||||
name: 'default',
|
||||
},
|
||||
[ DEFAULT_THEME, COSMIC_THEME, CORPORATE_THEME, DARK_THEME ],
|
||||
).providers,
|
||||
]
|
||||
})
|
||||
export class ThemeModule {
|
||||
static forRoot(): ModuleWithProviders<ThemeModule> {
|
||||
return <ModuleWithProviders>{
|
||||
return {
|
||||
ngModule: ThemeModule,
|
||||
providers: [
|
||||
...NbThemeModule.forRoot(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue