diff options
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r-- | client/src/app/app.component.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index b1818c298..ef8597203 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { Component, OnInit } from '@angular/core' | 1 | import { Component, OnInit } from '@angular/core' |
2 | import { Router } from '@angular/router' | 2 | import { Router } from '@angular/router' |
3 | import { AuthService, ServerService } from './core' | 3 | import { AuthService, ServerService } from '@app/core' |
4 | 4 | ||
5 | @Component({ | 5 | @Component({ |
6 | selector: 'my-app', | 6 | selector: 'my-app', |
@@ -50,10 +50,6 @@ export class AppComponent implements OnInit { | |||
50 | } | 50 | } |
51 | } | 51 | } |
52 | 52 | ||
53 | isInAdmin () { | ||
54 | return this.router.url.indexOf('/admin/') !== -1 | ||
55 | } | ||
56 | |||
57 | toggleMenu () { | 53 | toggleMenu () { |
58 | window.scrollTo(0, 0) | 54 | window.scrollTo(0, 0) |
59 | this.isMenuDisplayed = !this.isMenuDisplayed | 55 | this.isMenuDisplayed = !this.isMenuDisplayed |