feat(routes): add route for MitarbeiterBearbeitenViewComponent

This commit is contained in:
Jan K9f 2025-01-15 07:02:38 +01:00
parent 50cc420e50
commit 5ff00d7510
Signed by: jank
GPG key ID: 50620ADD22CD330B

View file

@ -5,6 +5,7 @@ import { EmployeeDetailComponent } from "./components/employee-detail/employee-d
import { QualifikatonBearbeitenViewComponent } from "./components/qualifikaton-bearbeiten-view/qualifikaton-bearbeiten-view.component";
import { KeycloakAuthGuard } from "keycloak-angular";
import { AuthGuard } from "./service/auth.service";
import { MitarbeiterBearbeitenViewComponent } from "./components/mitarbeiter-bearbeiten-view/mitarbeiter-bearbeiten-view.component";
export const routes: Routes = [
{
@ -16,6 +17,10 @@ export const routes: Routes = [
component: MitarbeiterverwaltungViewComponent,
canActivate: [AuthGuard],
},
{
path: "mitarbeiterbearbeiten/:id",
component: MitarbeiterBearbeitenViewComponent
},
{
path: "mitarbeiterdetails",
component: EmployeeDetailComponent,