Fehler Hamburger Menu, Backend requests
This commit is contained in:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user