fix(server, web): people page (#7319)

* fix: people page

* fix: use locale

* fix: e2e

* fix: remove useless w-full

* fix: don't count people without thumbnail

* fix: es6 template string

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
This commit is contained in:
martin 2024-02-21 23:03:45 +01:00 committed by GitHub
parent 546edc2e91
commit 5c0c98473d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 92 additions and 48 deletions

View file

@ -56,6 +56,7 @@ describe('/activity', () => {
expect(status).toBe(200);
expect(body).toEqual({
total: 2,
hidden: 1,
people: [
expect.objectContaining({ name: 'visible_person' }),
expect.objectContaining({ name: 'hidden_person' }),
@ -71,6 +72,7 @@ describe('/activity', () => {
expect(status).toBe(200);
expect(body).toEqual({
total: 2,
hidden: 1,
people: [expect.objectContaining({ name: 'visible_person' })],
});
});