diff --git a/frontend/src/component/personalDashboard/PersonalDashboard.tsx b/frontend/src/component/personalDashboard/PersonalDashboard.tsx index 48d802937fc0..6e5f6c9d7d66 100644 --- a/frontend/src/component/personalDashboard/PersonalDashboard.tsx +++ b/frontend/src/component/personalDashboard/PersonalDashboard.tsx @@ -244,7 +244,7 @@ export const PersonalDashboard = () => { {projects.map((project) => { return ( @@ -264,12 +264,12 @@ export const PersonalDashboard = () => { diff --git a/src/lib/features/personal-dashboard/personal-dashboard-controller.e2e.test.ts b/src/lib/features/personal-dashboard/personal-dashboard-controller.e2e.test.ts index e762e4aba84b..bd6336b5131a 100644 --- a/src/lib/features/personal-dashboard/personal-dashboard-controller.e2e.test.ts +++ b/src/lib/features/personal-dashboard/personal-dashboard-controller.e2e.test.ts @@ -210,10 +210,6 @@ test('should return personal dashboard project details', async () => { '**new_user@test.com** created **[log_feature_a]', ), }, - { - createdBy: 'unleash_system_user', - summary: '**unleash_system_user** created user ****', - }, ], }); }); diff --git a/src/lib/features/personal-dashboard/personal-dashboard-service.ts b/src/lib/features/personal-dashboard/personal-dashboard-service.ts index a14045a2a065..d28aa4fdc1d1 100644 --- a/src/lib/features/personal-dashboard/personal-dashboard-service.ts +++ b/src/lib/features/personal-dashboard/personal-dashboard-service.ts @@ -66,8 +66,8 @@ export class PersonalDashboardService { projectId: string, ): Promise { const recentEvents = await this.eventStore.searchEvents( - { project: projectId, limit: 4, offset: 0 }, - [], + { limit: 4, offset: 0 }, + [{ field: 'project', operator: 'IS', values: [projectId] }], ); const formattedEvents = recentEvents.map((event) => ({