From b25b75e382e0f5bd11fcdcb46f972c112da71a94 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sat, 17 Dec 2022 15:26:48 +0100 Subject: [PATCH] Fixed frontend --- .../view/server/members/members-routing.module.ts | 13 ------------- .../modules/view/server/server-routing.module.ts | 8 +++----- 2 files changed, 3 insertions(+), 18 deletions(-) delete mode 100644 kdb-web/src/app/modules/view/server/members/members-routing.module.ts diff --git a/kdb-web/src/app/modules/view/server/members/members-routing.module.ts b/kdb-web/src/app/modules/view/server/members/members-routing.module.ts deleted file mode 100644 index 2daacede..00000000 --- a/kdb-web/src/app/modules/view/server/members/members-routing.module.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { NgModule } from "@angular/core"; -import { RouterModule, Routes } from "@angular/router"; -import { MembersComponent } from "./component/members/members.component"; - -const routes: Routes = [ - { path: '', component: MembersComponent }, -]; - -@NgModule({ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule] -}) -export class MembersRoutingModule { } diff --git a/kdb-web/src/app/modules/view/server/server-routing.module.ts b/kdb-web/src/app/modules/view/server/server-routing.module.ts index 174266af..d7e96c59 100644 --- a/kdb-web/src/app/modules/view/server/server-routing.module.ts +++ b/kdb-web/src/app/modules/view/server/server-routing.module.ts @@ -1,11 +1,9 @@ -import { NgModule } from '@angular/core'; -import { RouterModule, Routes } from '@angular/router'; -import { ServerDashboardComponent } from './server-dashboard/server-dashboard.component'; -import { AuthGuard } from "../../shared/guards/auth/auth.guard"; +import { NgModule } from "@angular/core"; +import { RouterModule, Routes } from "@angular/router"; +import { ServerDashboardComponent } from "./server-dashboard/server-dashboard.component"; const routes: Routes = [ { path: '', component: ServerDashboardComponent }, - { path: 'members', loadChildren: () => import('./members/members.module').then(m => m.MembersModule), canActivate: [AuthGuard] }, ]; @NgModule({