From 72e8801472aa3e2de5b02f91c5a81a6f08cae9d1 Mon Sep 17 00:00:00 2001 From: Amritanshu Date: Sat, 13 Apr 2019 12:12:08 +0530 Subject: [PATCH] Fix: Error in navbar, didn't do anything, but showed up in the errors. --- overlord/src/app/core/nav-bar/nav-bar.component.html | 8 -------- overlord/src/app/core/nav-bar/nav-bar.component.ts | 5 +---- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/overlord/src/app/core/nav-bar/nav-bar.component.html b/overlord/src/app/core/nav-bar/nav-bar.component.html index 0d6f906d..56045524 100644 --- a/overlord/src/app/core/nav-bar/nav-bar.component.html +++ b/overlord/src/app/core/nav-bar/nav-bar.component.html @@ -1,12 +1,4 @@ - HnG / TGB Journal diff --git a/overlord/src/app/core/nav-bar/nav-bar.component.ts b/overlord/src/app/core/nav-bar/nav-bar.component.ts index 042aa9ea..8eae9e40 100644 --- a/overlord/src/app/core/nav-bar/nav-bar.component.ts +++ b/overlord/src/app/core/nav-bar/nav-bar.component.ts @@ -1,6 +1,4 @@ import {Component, OnInit} from '@angular/core'; -import {BreakpointObserver, Breakpoints, BreakpointState} from '@angular/cdk/layout'; -import {Observable} from 'rxjs'; import {AuthService} from '../../auth/auth.service'; import {Subject} from 'rxjs/internal/Subject'; @@ -10,10 +8,9 @@ import {Subject} from 'rxjs/internal/Subject'; styleUrls: ['./nav-bar.component.css'] }) export class NavBarComponent implements OnInit { - isHandset: Observable = this.breakpointObserver.observe(Breakpoints.Handset); public nameObject = new Subject(); - constructor(private breakpointObserver: BreakpointObserver, private auth: AuthService) { + constructor(private auth: AuthService) { } ngOnInit() {