mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-19 17:00:13 +01:00
feat(rc6): update to rc6
This commit is contained in:
parent
18c6912c72
commit
053473a442
54 changed files with 187 additions and 193 deletions
|
|
@ -1,8 +1,6 @@
|
|||
import './app.loader.ts';
|
||||
import { Component, ViewEncapsulation } from '@angular/core';
|
||||
import { GlobalState } from './global.state';
|
||||
import { BaThemeConfigProvider, BaThemeConfig } from './theme';
|
||||
import { BaThemeRun } from './theme/directives';
|
||||
import { BaImageLoaderService, BaThemePreloader, BaThemeSpinner } from './theme/services';
|
||||
import { layoutPaths } from './theme/theme.constants';
|
||||
|
||||
|
|
@ -12,9 +10,6 @@ import { layoutPaths } from './theme/theme.constants';
|
|||
*/
|
||||
@Component({
|
||||
selector: 'app',
|
||||
pipes: [],
|
||||
directives: [BaThemeRun],
|
||||
providers: [BaThemeConfigProvider, BaThemeConfig, BaImageLoaderService, BaThemeSpinner],
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
styles: [require('normalize.css'), require('./app.scss')],
|
||||
template: `
|
||||
|
|
@ -31,7 +26,7 @@ export class App {
|
|||
constructor(private _state: GlobalState,
|
||||
private _imageLoader: BaImageLoaderService,
|
||||
private _spinner: BaThemeSpinner) {
|
||||
|
||||
|
||||
this._loadImages();
|
||||
|
||||
this._state.subscribe('menu.isCollapsed', (isCollapsed) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue