diff --git a/admin/src/app/app.ts b/admin/src/app/app.ts index b002de5..ccef7e0 100644 --- a/admin/src/app/app.ts +++ b/admin/src/app/app.ts @@ -3,11 +3,12 @@ import { Router, RouterOutlet } from '@angular/router'; import { AuthService } from './auth/auth.service'; import { AdminLayoutRs1 } from '../../projects/rschneider/ng-daisyui/src/lib/layout'; import { Menu, MenuItem } from './components/menu/menu'; +import { SingleEventDashboardCard } from './features/calendar/components/calendar-view/single-event-dashboard-card/single-event-dashboard-card'; @Component({ selector: 'app-root', - imports: [RouterOutlet, AdminLayoutRs1, Menu], + imports: [RouterOutlet, AdminLayoutRs1, Menu, SingleEventDashboardCard], // Import it here templateUrl: './app.html', styleUrl: './app.css', }) @@ -74,8 +75,6 @@ export class App { } logout(): void { - // With the interceptor fixed, this is now the correct and robust way. - // The error from a failed server logout will propagate here. this.authService.serverSideLogout().subscribe({ next: () => { console.log('Server-side logout successful.'); diff --git a/admin/src/app/components/detail-view/detail-view.html b/admin/src/app/components/detail-view/detail-view.html index 586fe53..3928a2d 100644 --- a/admin/src/app/components/detail-view/detail-view.html +++ b/admin/src/app/components/detail-view/detail-view.html @@ -1,7 +1,6 @@ -{{config().data}} @if (config().data){