fix(dependencies): update angular to 2.4.7

This commit is contained in:
Alexander Zhukov 2017-02-14 16:34:28 +03:00
parent cd7520ed40
commit 1cce1b5f75
10 changed files with 309 additions and 536 deletions

View file

@ -1,5 +0,0 @@
import { PAGES_MENU } from './pages/pages.menu';
export const MENU = [
...PAGES_MENU
];

View file

@ -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);
}
}

View file

@ -1,5 +1,6 @@
import {Injectable} from '@angular/core';
import {Router, Routes} from '@angular/router';
import * as _ from 'lodash';
import { BehaviorSubject } from 'rxjs/BehaviorSubject';