mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-23 02:40:14 +01:00
fix(services): fix providers for root, correctly apply another themes
This commit is contained in:
parent
bcae560f3b
commit
40aa2ed0ae
3 changed files with 16 additions and 9 deletions
|
|
@ -3,6 +3,7 @@ import { Component, ViewEncapsulation } from '@angular/core';
|
|||
import { GlobalState } from './global.state';
|
||||
import { BaImageLoaderService, BaThemePreloader, BaThemeSpinner } from './theme/services';
|
||||
import { layoutPaths } from './theme/theme.constants';
|
||||
import { BaThemeConfig } from './theme/theme.config';
|
||||
|
||||
/*
|
||||
* App Component
|
||||
|
|
@ -25,7 +26,8 @@ export class App {
|
|||
|
||||
constructor(private _state: GlobalState,
|
||||
private _imageLoader: BaImageLoaderService,
|
||||
private _spinner: BaThemeSpinner) {
|
||||
private _spinner: BaThemeSpinner,
|
||||
private _config:BaThemeConfig) {
|
||||
|
||||
this._loadImages();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue