mirror of
https://github.com/immich-app/immich.git
synced 2025-11-15 17:43:08 +09: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:
@@ -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...`;
|
||||
|
||||
Reference in New Issue
Block a user