File

src/app/modules/program-dashboard/program-dashboard-routing.module.ts

import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { DatasetsComponent } from './components/program-datasets/program-datasets.component';
import { AuthGuard } from '../core/guard/auth-gard.service';
const telemetryEnv = 'program-dashboard';

const routes: Routes = [
  {
    path: '',
    component: DatasetsComponent,
    canActivate: [AuthGuard],
    data: {
      roles: 'programDashboardRole',
      telemetry: {
        env: telemetryEnv, pageid: 'program-datasets', type: 'view'
      },
      menuBar: {
        visible: false
      }
    }
  }
];
@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class programDashboardRoutingModule { }

results matching ""

    No results matching ""