diff options
Diffstat (limited to 'src/app/vnfs/LoginGuardService/Login-guard-service.ts')
-rw-r--r-- | src/app/vnfs/LoginGuardService/Login-guard-service.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/app/vnfs/LoginGuardService/Login-guard-service.ts b/src/app/vnfs/LoginGuardService/Login-guard-service.ts index 1e7e752..ddec7b5 100644 --- a/src/app/vnfs/LoginGuardService/Login-guard-service.ts +++ b/src/app/vnfs/LoginGuardService/Login-guard-service.ts @@ -24,13 +24,11 @@ limitations under the License. import {ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot} from '@angular/router'; 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 router: Router) { } canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean { @@ -44,4 +42,4 @@ export class LoginGuardService implements CanActivate { } } -}
\ No newline at end of file +} |