From 8f60c6577127696e2de9d9230883682a590c374a Mon Sep 17 00:00:00 2001 From: edraft Date: Fri, 3 Jan 2025 15:09:35 +0100 Subject: [PATCH] Fixed ui loading --- web/src/app/app-routing.module.ts | 2 ++ web/src/app/app.component.html | 4 ++-- web/src/app/app.component.ts | 7 +++++++ web/src/app/app.module.ts | 2 ++ web/src/app/components/redirect/redirect.component.ts | 5 ++++- web/src/app/service/gui.service.ts | 10 ++++++++++ 6 files changed, 27 insertions(+), 3 deletions(-) diff --git a/web/src/app/app-routing.module.ts b/web/src/app/app-routing.module.ts index 40c40bb..c7191e7 100644 --- a/web/src/app/app-routing.module.ts +++ b/web/src/app/app-routing.module.ts @@ -4,12 +4,14 @@ import { NotFoundComponent } from "src/app/components/error/not-found/not-found. import { AuthGuard } from "src/app/core/guard/auth.guard"; import { HomeComponent } from "src/app/components/home/home.component"; import { RedirectComponent } from "src/app/components/redirect/redirect.component"; +import { LogoutComponent } from "src/app/components/logout/logout.component"; const routes: Routes = [ { path: "", component: HomeComponent, }, + { path: "logout", component: LogoutComponent }, { path: "admin", loadChildren: () => diff --git a/web/src/app/app.component.html b/web/src/app/app.component.html index 8152918..d0a5c7a 100644 --- a/web/src/app/app.component.html +++ b/web/src/app/app.component.html @@ -1,8 +1,8 @@ -
+
-