ensure keys on getAssetInfo, alt-text

This commit is contained in:
Min Idzelis
2025-04-20 12:51:26 +00:00
parent f3fe043c22
commit 9f6120a134
6 changed files with 11 additions and 9 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
import type { TimelineAsset } from '$lib/stores/assets-store.svelte';
import { AssetTypeEnum, type AssetResponseDto } from '@immich/sdk';
import { t } from 'svelte-i18n';
import { derived } from 'svelte/store';
@@ -37,7 +38,7 @@ export function getThumbnailSize(assetCount: number, viewWidth: number): number
return 300;
}
export const getAltTextForTimelineAsset = () => {
export const getAltTextForTimelineAsset = (_: TimelineAsset) => {
// TODO: implement this in a performant way
return '';
};