Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

Commit

Permalink
feat(front-end): Add route for EmployeeCharges component
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosPavajeau committed Mar 5, 2021
1 parent 86db515 commit b0157e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Kaizen/ClientApp/src/app/global/control-panel-cards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ export const DASHBOARDS_CARDS: { [role: string]: DashboardCard[] } = {
isMenu: true,
subMenu: [
{ title: 'Registrar empleado', url: '/employees/register', iconName: 'person_add' },
{ title: 'Ver empleados', url: '/employees', iconName: 'people' }
{ title: 'Ver empleados', url: '/employees', iconName: 'people' },
{ title: 'Ver cargos de empleado', url: '/employees/charges', iconName: 'list' }
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { RouterModule, Routes } from '@angular/router';
import { AdminGuard } from '@core/guards/admin.guard';
import { AuthGuard } from '@core/guards/auth.guard';
import { DashboardLayoutComponent } from '@shared/layouts/dashboard-layout/dashboard-layout.component';
import { EmployeeChargesComponent } from './components/employee-charges/employee-charges.component';
import { EmployeeDetailComponent } from './components/employee-detail/employee-detail.component';
import { EmployeeEditComponent } from './components/employee-edit/employee-edit.component';
import { EmployeeMapComponent } from './components/employee-map/employee-map.component';
Expand All @@ -23,6 +24,10 @@ const routes: Routes = [
path: 'map',
component: EmployeeMapComponent
},
{
path: 'charges',
component: EmployeeChargesComponent
},
{
path: 'register',
component: EmployeeRegisterComponent
Expand Down

0 comments on commit b0157e9

Please sign in to comment.