Revision 50159
Added by Myrto Koukouli over 6 years ago
metrics.routing.ts | ||
---|---|---|
1 | 1 |
/** |
2 | 2 |
* Created by myrto on 11/27/17. |
3 | 3 |
*/ |
4 |
import {NgModule} from "@angular/core";
|
|
5 |
import {RouterModule, Routes} from "@angular/router";
|
|
6 |
import {MetricsComponent} from './metrics.component';
|
|
7 |
import {MetricsEnableComponent} from './metrics-enable.component';
|
|
8 |
import {MetricsInstructionsComponent} from './metrics-instructions.component';
|
|
9 |
import {AuthGuardService} from '../../services/auth-guard.service';
|
|
4 |
import { NgModule } from "@angular/core";
|
|
5 |
import { RouterModule, Routes } from "@angular/router";
|
|
6 |
import { MetricsComponent } from './metrics.component';
|
|
7 |
import { MetricsEnableComponent } from './metrics-enable.component';
|
|
8 |
import { MetricsInstructionsComponent } from './metrics-instructions.component';
|
|
9 |
import { AuthGuardService } from '../../services/auth-guard.service';
|
|
10 | 10 |
|
11 | 11 |
const metricsRoutes: Routes = [ |
12 | 12 |
{ |
13 | 13 |
path: 'metrics', |
14 |
// canActivate: [AuthGuardService],
|
|
14 |
canActivate: [AuthGuardService], |
|
15 | 15 |
children: [ |
16 | 16 |
{ |
17 | 17 |
path: '', |
Also available in: Unified diff
solved modals problem and added spinner