diff options
author | asgar <ma926a@us.att.com> | 2019-03-01 15:32:47 +0530 |
---|---|---|
committer | Takamune Cho <takamune.cho@att.com> | 2019-03-04 19:52:20 +0000 |
commit | 611c9da62c2e266f9facd97dc9f340ce311060a3 (patch) | |
tree | e471d6c851cefd46ed83380c6e41d20f54fe2666 /src/app/vnfs/LoginGuardService | |
parent | 9ccb0353f1c59bd7d49ff17c54e5d00c0960ea82 (diff) |
multiple asible servers support
multiple asible servers support for CDT
Issue-ID: APPC-1510
Change-Id: Id1b1b02274487cfbf6f108a57211a192924a6b08
Signed-off-by: Mohamed Asgar Samiulla <ma926a@us.att.com>
Diffstat (limited to 'src/app/vnfs/LoginGuardService')
-rw-r--r-- | src/app/vnfs/LoginGuardService/Login-guard-service.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/app/vnfs/LoginGuardService/Login-guard-service.ts b/src/app/vnfs/LoginGuardService/Login-guard-service.ts index ddec7b5..1e7e752 100644 --- a/src/app/vnfs/LoginGuardService/Login-guard-service.ts +++ b/src/app/vnfs/LoginGuardService/Login-guard-service.ts @@ -24,11 +24,13 @@ 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 router: Router) { + constructor(private ngbModal: NgbModal, private mapService: MappingEditorService, private router: Router) { } canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean { @@ -42,4 +44,4 @@ export class LoginGuardService implements CanActivate { } } -} +}
\ No newline at end of file |