From acfa359eebb7c0e2088bb1ec18cc19bfcb7b9668 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Thu, 25 Jan 2024 16:44:41 +0100 Subject: [PATCH] Fixed loading scheduled events --- .../components/scheduled-events/scheduled-events.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/app/modules/view/server/scheduled-events/components/scheduled-events/scheduled-events.component.ts b/web/src/app/modules/view/server/scheduled-events/components/scheduled-events/scheduled-events.component.ts index e37e66d6..a41c585c 100644 --- a/web/src/app/modules/view/server/scheduled-events/components/scheduled-events/scheduled-events.component.ts +++ b/web/src/app/modules/view/server/scheduled-events/components/scheduled-events/scheduled-events.component.ts @@ -93,11 +93,11 @@ export class ScheduledEventsComponent extends ComponentWithTable implements OnIn public ngOnInit(): void { this.loading = true; - this.setFilterForm(); this.data.getServerFromRoute(this.route).then(async server => { this.server = server; let authUser = await this.authService.getLoggedInUser(); this.user = authUser?.users?.find(u => u.server == this.server.id) ?? null; + this.setFilterForm(); }); }