Add a component on the flights in tunnel
This commit is contained in:
@@ -67,6 +67,7 @@ import { ErrorInterceptor } from "../interceptor/error.interceptor";
|
||||
import { UserProfileComponent } from "./user-profile/user-profile.component";
|
||||
import { ListOfImagesComponent } from "./list-of-images/list-of-images.component";
|
||||
import { JumpInfosComponent } from './jump-infos/jump-infos.component';
|
||||
import { NewTunnelFlightComponent } from './new-tunnel-flight/new-tunnel-flight.component';
|
||||
|
||||
const appRoutes: Routes = [
|
||||
{ path: "", component: DefaultComponent, canActivate: [AuthGuardService] },
|
||||
@@ -110,6 +111,11 @@ const appRoutes: Routes = [
|
||||
component: UserProfileComponent,
|
||||
canActivate: [AuthGuardService]
|
||||
},
|
||||
{
|
||||
path: "newTunnelFlight",
|
||||
component: NewTunnelFlightComponent,
|
||||
canActivate: [AuthGuardService]
|
||||
},
|
||||
{ path: "login", component: LoginComponent },
|
||||
];
|
||||
|
||||
@@ -144,6 +150,7 @@ export function initConfig(configService: ConfigurationHelper) {
|
||||
UserProfileComponent,
|
||||
ListOfImagesComponent,
|
||||
JumpInfosComponent,
|
||||
NewTunnelFlightComponent,
|
||||
],
|
||||
imports: [
|
||||
RouterModule.forRoot(
|
||||
|
||||
Reference in New Issue
Block a user