diff options
Diffstat (limited to 'client/src/app/menu.component.ts')
-rw-r--r-- | client/src/app/menu.component.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/client/src/app/menu.component.ts b/client/src/app/menu.component.ts index 6b08301df..425a12e5d 100644 --- a/client/src/app/menu.component.ts +++ b/client/src/app/menu.component.ts | |||
@@ -1,12 +1,11 @@ | |||
1 | import { Component, OnInit } from '@angular/core'; | 1 | import { Component, OnInit } from '@angular/core'; |
2 | import { Router, ROUTER_DIRECTIVES } from '@angular/router'; | 2 | import { Router } from '@angular/router'; |
3 | 3 | ||
4 | import { AuthService, AuthStatus } from './shared'; | 4 | import { AuthService, AuthStatus } from './shared'; |
5 | 5 | ||
6 | @Component({ | 6 | @Component({ |
7 | selector: 'my-menu', | 7 | selector: 'my-menu', |
8 | template: require('./menu.component.html'), | 8 | template: require('./menu.component.html') |
9 | directives: [ ROUTER_DIRECTIVES ] | ||
10 | }) | 9 | }) |
11 | export class MenuComponent implements OnInit { | 10 | export class MenuComponent implements OnInit { |
12 | isLoggedIn: boolean; | 11 | isLoggedIn: boolean; |