Settings repariert
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user