diff --git a/.idea/.idea.DotNetAngular/.idea/shelf/Uncommitted_changes_before_Update_at_15_03_26__19_07__Changes_.xml b/.idea/.idea.DotNetAngular/.idea/shelf/Uncommitted_changes_before_Update_at_15_03_26__19_07__Changes_.xml
deleted file mode 100644
index dd13f80..0000000
--- a/.idea/.idea.DotNetAngular/.idea/shelf/Uncommitted_changes_before_Update_at_15_03_26__19_07__Changes_.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/.idea/.idea.DotNetAngular/.idea/workspace.xml b/.idea/.idea.DotNetAngular/.idea/workspace.xml
index 3cbb89e..176ecf5 100644
--- a/.idea/.idea.DotNetAngular/.idea/workspace.xml
+++ b/.idea/.idea.DotNetAngular/.idea/workspace.xml
@@ -13,8 +13,11 @@
-
-
+
+
+
+
+
@@ -37,6 +40,7 @@
+
@@ -45,6 +49,9 @@
+
+
+
{
"associatedIndex": 5
}
@@ -53,28 +60,28 @@
- {
+ "keyToString": {
+ ".NET Launch Settings Profile.API: Angular_dev.executor": "Run",
+ "RunOnceActivity.MCP Project settings loaded": "true",
+ "RunOnceActivity.ShowReadmeOnStart": "true",
+ "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
+ "RunOnceActivity.git.unshallow": "true",
+ "RunOnceActivity.typescript.service.memoryLimit.init": "true",
+ "com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
+ "git-widget-placeholder": "feature/haeder",
+ "junie.onboarding.icon.badge.shown": "true",
+ "node.js.detected.package.eslint": "true",
+ "node.js.detected.package.tslint": "true",
+ "node.js.selected.package.eslint": "(autodetect)",
+ "node.js.selected.package.tslint": "(autodetect)",
+ "nodejs_package_manager_path": "npm",
+ "settings.editor.selected.configurable": "preferences.pluginManager",
+ "to.speed.mode.migration.done": "true",
+ "ts.external.directory.path": "/home/natlinux/RiderProjects/DotNetAngular/src/ClientApp/node_modules/typescript/lib",
+ "vue.rearranger.settings.migration": "true"
}
-}]]>
+}
@@ -214,6 +221,7 @@
+
@@ -263,7 +271,15 @@
1773597809588
-
+
+
+ 1773598259701
+
+
+
+ 1773598259701
+
+
@@ -305,7 +321,8 @@
-
+
+
diff --git a/src/ClientApp/src/app/infrastructure/services/auth-service.ts b/src/ClientApp/src/app/infrastructure/services/auth-service.ts
index 2d3ac86..273dd23 100644
--- a/src/ClientApp/src/app/infrastructure/services/auth-service.ts
+++ b/src/ClientApp/src/app/infrastructure/services/auth-service.ts
@@ -36,7 +36,7 @@ export class AuthService implements IAuthService {
}
signOut() {
- if (!this.isBrowser) {
+ if (this.isBrowser) {
localStorage.clear();
this.router.navigate(['/login']).catch(error => {
console.error('Navigation error:', error);
diff --git a/src/ClientApp/src/app/presentation/components/header/header.component.ts b/src/ClientApp/src/app/presentation/components/header/header.component.ts
index 79e07f3..ad1d68a 100644
--- a/src/ClientApp/src/app/presentation/components/header/header.component.ts
+++ b/src/ClientApp/src/app/presentation/components/header/header.component.ts
@@ -1,7 +1,6 @@
-import {Component, inject, OnInit, viewChild} from '@angular/core';
+import {Component, inject, OnInit} from '@angular/core';
import {DarkModeService} from '../../../infrastructure/services/dark-mode.service';
-import {FormsModule, NgForm} from "@angular/forms";
-import {ToastService} from "../../../infrastructure/services/toast.service";
+import {FormsModule} from "@angular/forms";
import {ActivatedRoute, NavigationEnd, Router, RouterLink} from "@angular/router";
import {AuthService} from "../../../infrastructure/services/auth-service";
import {UserStoreService} from "../../../infrastructure/services/user-store.service";
@@ -19,7 +18,6 @@ import {filter} from "rxjs/operators";
})
export class HeaderComponent implements OnInit {
- toastService = inject(ToastService);
darkModeService = inject(DarkModeService);
userStore = inject(UserStoreService);
@@ -50,7 +48,8 @@ export class HeaderComponent implements OnInit {
while (route.firstChild) route = route.firstChild;
// Header-Logic
- const headerRoutes = ['/login', '/register', '/legal' , '/start'];
+ // TODO hide dropdown for login register and legal
+ const headerRoutes = ['/login', '/register', '/legal', '/startpage'];
this.showDropdown = headerRoutes.some(route => event.urlAfterRedirects.startsWith(route));
this.showOverviewTools = event.urlAfterRedirects.startsWith('/rss-feed-overview');
});
diff --git a/src/ClientApp/src/main.ts b/src/ClientApp/src/main.ts
index 35b00f3..ccdcd4f 100644
--- a/src/ClientApp/src/main.ts
+++ b/src/ClientApp/src/main.ts
@@ -1,6 +1,7 @@
import { bootstrapApplication } from '@angular/platform-browser';
import { appConfig } from './app/app.config';
import { AppComponent } from './app/app.component';
+import 'bootstrap';
bootstrapApplication(AppComponent, appConfig)
.catch((err) => console.error(err));