From 383d58e069bba985d783960207c96249ada436b6 Mon Sep 17 00:00:00 2001 From: "sentry[bot]" <39604003+sentry[bot]@users.noreply.github.com> Date: Sat, 22 Aug 2026 22:35:01 +0000 Subject: [PATCH] Bug/CLARK-CLIENT-18/fix-typeerror-filter --- src/app/onion/dashboard/dashboard.component.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/onion/dashboard/dashboard.component.ts b/src/app/onion/dashboard/dashboard.component.ts index bd026a8bf..91a9866b5 100644 --- a/src/app/onion/dashboard/dashboard.component.ts +++ b/src/app/onion/dashboard/dashboard.component.ts @@ -222,7 +222,7 @@ export class DashboardComponent implements OnInit, OnDestroy { filters?: any, text?: string, ): Promise { - this.searchService + await this.searchService .getUsersLearningObjects(this.auth.username, { ...filters, text, @@ -236,10 +236,9 @@ export class DashboardComponent implements OnInit, OnDestroy { this.sortLearningObjectsByDate( response.learningObjects, ); + this.checkQueryParams$.next(); }, ); - - this.checkQueryParams$.next(); } /** * Toggles between the draft tab and the released tab