fix: null dereference when canceling bucket in album (#23924)

This commit is contained in:
Min Idzelis authored and GitHub committed 2025-11-17 14:12:28 -06:00
1 parent 69880ee165
commit d64c339b4f
1 file changed
+3
@@ -38,6 +38,9 @@ export async function loadFromTimeBuckets(
},
{ signal },
);
if (!albumAssets) {
return;
}
for (const id of albumAssets.id) {
timelineManager.albumAssets.add(id);
}