Settings repariert

This commit is contained in:
Bastian Wagner
2026-03-12 09:33:48 +01:00
parent 0a7285c6c3
commit ccbdc7cefa

View File

@@ -19,7 +19,6 @@ import { MatIconModule } from '@angular/material/icon';
styleUrl: './settings.component.scss'
})
export class SettingsComponent {
@Input() isOpen = false;
@Output() close = new EventEmitter<void>();
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() {