Fehler Hamburger Menu, Backend requests

This commit is contained in:
2025-12-08 00:55:01 +01:00
parent 30ecc292cd
commit 0ac17ef155
9 changed files with 87 additions and 19 deletions

View File

@@ -46,6 +46,11 @@ export class AppComponent implements AfterViewInit {
}
// Hier haben Sie Zugriff auf den aktuellen Route-Pfad
this.actualRoute = currentRoute.snapshot.url[0].path;
// Re-initialize Flowbite after navigation to ensure all components are ready
setTimeout(() => {
initFlowbite();
}, 50);
});
}
ngOnInit() {
@@ -53,8 +58,9 @@ export class AppComponent implements AfterViewInit {
}
ngAfterViewInit() {
// Flowbite wird nicht mehr zentral initialisiert
// Drawers funktionieren automatisch durch data-drawer-target Attribute
// Initialize Flowbite for dropdowns, modals, and other interactive components
// Note: Drawers work automatically with data-drawer-target attributes
initFlowbite();
}
@HostListener('window:keydown', ['$event'])