File

src/app/modules/manage/manage-routing.module.ts

import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { UserOrgManagementComponent } from './components/user-org-management/user-org-management.component';
import { UserRoleAssignComponent } from './components/user-role-assign/user-role-assign.component';
import { AuthGuard } from '@sunbird/core';

const routes: Routes = [
  {
    path: '', component: UserOrgManagementComponent, canActivate: [AuthGuard], data: {
    roles: 'bulkUpload',
    telemetry: {
      env: 'admin-dashboard', pageid: 'admin-manage-page', type: 'view', uri: '/manage'
    }
  }
},
  {
    path: 'userRoleAssign', component: UserRoleAssignComponent,
    data: {
      telemetry: {
        env: 'user-role-assign', pageid: 'userRoleAssign', type: 'view'
      }
    },
  }
];
@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class ManageRoutingModule { }

results matching ""

    No results matching ""