aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/vnfs/LoginGuardService
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2018-07-25 17:13:56 +0530
committerTakamune Cho <tc012c@att.com>2018-08-01 13:31:08 +0000
commit185f9de09e5b84a2f50abafba3f6f9d38dcaf2e3 (patch)
treebd8b329c986dbdba188997a49aa719059d62ee49 /src/app/vnfs/LoginGuardService
parent2b95201745c791dc0e71004478cb34e4b896cda4 (diff)
Removed unwanted code
Removed ngbModal from imports and constructor as it was not used. Issue-ID: APPC-1054 Change-Id: I92406941099384b1b17472d57c888041deb7e0a4 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'src/app/vnfs/LoginGuardService')
-rw-r--r--src/app/vnfs/LoginGuardService/Login-guard-service.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/app/vnfs/LoginGuardService/Login-guard-service.ts b/src/app/vnfs/LoginGuardService/Login-guard-service.ts
index 35640d0..6c5663f 100644
--- a/src/app/vnfs/LoginGuardService/Login-guard-service.ts
+++ b/src/app/vnfs/LoginGuardService/Login-guard-service.ts
@@ -2,6 +2,8 @@
============LICENSE_START==========================================
===================================================================
Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
+
+Copyright (C) 2018 IBM Intellectual Property. All rights reserved.
===================================================================
Unless otherwise specified, all software contained herein is licensed
@@ -23,12 +25,11 @@ import {ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot} from '
import {Injectable} from '@angular/core';
import {MappingEditorService} from '../../shared/services/mapping-editor.service';
-import {NgbModal} from '@ng-bootstrap/ng-bootstrap';
@Injectable()
export class LoginGuardService implements CanActivate {
- constructor(private ngbModal: NgbModal, private mapService: MappingEditorService, private router: Router) {
+ constructor(private mapService: MappingEditorService, private router: Router) {
}
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {