From ccbdc7cefacb152305f60aac769d8a1b861af6ff Mon Sep 17 00:00:00 2001 From: Bastian Wagner Date: Thu, 12 Mar 2026 09:33:48 +0100 Subject: [PATCH] Settings repariert --- client/src/app/modules/settings/settings.component.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/client/src/app/modules/settings/settings.component.ts b/client/src/app/modules/settings/settings.component.ts index 68c4799..dff4d54 100644 --- a/client/src/app/modules/settings/settings.component.ts +++ b/client/src/app/modules/settings/settings.component.ts @@ -19,7 +19,6 @@ import { MatIconModule } from '@angular/material/icon'; styleUrl: './settings.component.scss' }) export class SettingsComponent { - @Input() isOpen = false; @Output() close = new EventEmitter(); private authService: AuthService = inject(AuthService); @@ -43,11 +42,6 @@ export class SettingsComponent { uiScale: new FormControl('s') }) - open() { - this.isOpen = true; - this.loadSettings(); - } - closeSidebar() { if (this.isDirty()) { this.toast.warning('Ungespeicherte Änderungen wurden verworfen.'); @@ -72,7 +66,7 @@ export class SettingsComponent { } ngOnInit() { - + this.loadSettings(); } async loadSettings() {