aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/vnfs/LoginGuardService/Login-guard-service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/vnfs/LoginGuardService/Login-guard-service.ts')
-rw-r--r--src/app/vnfs/LoginGuardService/Login-guard-service.ts6
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