1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-17 01:06:46 +01:00

fix(web): memories year missing (#9787)

This commit is contained in:
Michel Heusschen 2024-05-27 09:01:33 +02:00 committed by GitHub
parent 6879bcb7a4
commit fc5615eff6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -291,4 +291,4 @@ export const handlePromiseError = <T>(promise: Promise<T>): void => {
export const s = (count: number) => (count === 1 ? '' : 's');
export const memoryLaneTitle = (yearsAgo: number) => `year${s(yearsAgo)} ago`;
export const memoryLaneTitle = (yearsAgo: number) => `${yearsAgo} year${s(yearsAgo)} ago`;