mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +01:00
Merge pull request #18 from iamdavidfrancis/master
Inject BaThemeConfig into the App. Fixes #17
This commit is contained in:
commit
fba3362240
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ export class App {
|
|||
|
||||
isMenuCollapsed:boolean = false;
|
||||
|
||||
constructor(private _state:AppState, private _imageLoader:BaImageLoaderService, private _spinner:BaThemeSpinner) {
|
||||
constructor(private _state:AppState, private _imageLoader:BaImageLoaderService, private _spinner:BaThemeSpinner, private _config:BaThemeConfig) {
|
||||
this._loadImages();
|
||||
|
||||
this._state.subscribe('menu.isCollapsed', (isCollapsed) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue