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:
parent
0f3e7ec7e3
commit
a6c7a5fc90
@ -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',
|
||||||
|
),
|
||||||
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user