mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix: memory lane assets in ascending order (#8309)
* fix: memory lane asset order * chore: deprecate title * chore: open-api * chore: rename years => yearsAgo
This commit is contained in:
parent
13b11a39a9
commit
9fe80c25eb
12 changed files with 65 additions and 29 deletions
|
|
@ -277,3 +277,5 @@ export const asyncTimeout = (ms: number) => {
|
|||
export const handlePromiseError = <T>(promise: Promise<T>): void => {
|
||||
promise.catch((error) => console.error(`[utils.ts]:handlePromiseError ${error}`, error));
|
||||
};
|
||||
|
||||
export const memoryLaneTitle = (yearsAgo: number) => `${yearsAgo} ${yearsAgo ? 'years' : 'year'} since...`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue