mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-25 14:47:39 +00:00
fix: null dereference when canceling bucket in album (#23924)
This commit is contained in:
parent
69880ee165
commit
d64c339b4f
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue