1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-14 00:19:16 +01:00

feat: increase latest events in personal dashboard (#8491)

This commit is contained in:
Mateusz Kwasniewski 2024-10-21 12:30:50 +02:00 committed by GitHub
parent 0f3e7ec7e3
commit a6c7a5fc90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View File

@ -297,6 +297,13 @@ test('should return personal dashboard project details', async () => {
'triggered **project-access-added**', 'triggered **project-access-added**',
), ),
}, },
{
createdAt: expect.stringMatching(timestampPattern),
createdBy: 'audit user',
summary: expect.stringContaining(
'**audit user** created project',
),
},
], ],
}); });

View File

@ -150,7 +150,7 @@ export class PersonalDashboardService {
const [latestEvents, owners, roles, healthScores] = await Promise.all([ const [latestEvents, owners, roles, healthScores] = await Promise.all([
this.eventStore this.eventStore
.searchEvents({ limit: 4, offset: 0 }, [ .searchEvents({ limit: 10, offset: 0 }, [
{ {
field: 'project', field: 'project',
operator: 'IS', operator: 'IS',