mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-23 10:50:13 +01:00
fix(dependencies): update angular to 2.4.7
This commit is contained in:
parent
cd7520ed40
commit
1cce1b5f75
10 changed files with 309 additions and 536 deletions
|
|
@ -1,5 +0,0 @@
|
|||
import { PAGES_MENU } from './pages/pages.menu';
|
||||
|
||||
export const MENU = [
|
||||
...PAGES_MENU
|
||||
];
|
||||
|
|
@ -2,7 +2,7 @@ import { Component } from '@angular/core';
|
|||
import { Routes } from '@angular/router';
|
||||
|
||||
import { BaMenuService } from '../theme';
|
||||
import { MENU } from '../app.menu';
|
||||
import { PAGES_MENU } from './pages.menu';
|
||||
|
||||
@Component({
|
||||
selector: 'pages',
|
||||
|
|
@ -36,6 +36,6 @@ export class Pages {
|
|||
}
|
||||
|
||||
ngOnInit() {
|
||||
this._menuService.updateMenuByRoutes(<Routes>MENU);
|
||||
this._menuService.updateMenuByRoutes(<Routes>PAGES_MENU);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import {Injectable} from '@angular/core';
|
||||
import {Router, Routes} from '@angular/router';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue