re-add alt-text

This commit is contained in:
Min Idzelis
2025-04-23 21:41:09 +00:00
parent 6cb7fffe91
commit 0795f8a761
8 changed files with 39 additions and 33 deletions
+7 -3
View File
@@ -15,7 +15,6 @@ import {
getTimeBucket,
getTimeBuckets,
TimeBucketSize,
type AssetResponseDto,
type AssetStackResponseDto,
} from '@immich/sdk';
import { clamp, debounce, isEqual, throttle } from 'lodash-es';
@@ -85,6 +84,11 @@ export type TimelineAsset = {
duration: string | null;
projectionType: string | null;
livePhotoVideoId: string | null;
text: {
city: string | null;
country: string | null;
people: string[];
};
};
class IntersectingAsset {
// --- public ---
@@ -1089,7 +1093,7 @@ export class AssetStore {
);
if (bucketResponse) {
if (this.#options.timelineAlbumId) {
const bucketAssets = await getTimeBucket(
const albumAssets = await getTimeBucket(
{
albumId: this.#options.timelineAlbumId,
timeBucket: bucketDate,
@@ -1098,7 +1102,7 @@ export class AssetStore {
},
{ signal },
);
for (const { id } of bucketAssets) {
for (const { id } of albumAssets) {
this.albumAssets.add(id);
}
}