mirror of
https://github.com/immich-app/immich.git
synced 2025-12-08 17:23:14 +03:00
fix: null dereference when canceling bucket in album (#23924)
This commit is contained in:
@@ -38,6 +38,9 @@ export async function loadFromTimeBuckets(
|
|||||||
},
|
},
|
||||||
{ signal },
|
{ signal },
|
||||||
);
|
);
|
||||||
|
if (!albumAssets) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
for (const id of albumAssets.id) {
|
for (const id of albumAssets.id) {
|
||||||
timelineManager.albumAssets.add(id);
|
timelineManager.albumAssets.add(id);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user