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

This commit is contained in:
Min Idzelis 2025-11-17 15:12:28 -05:00 committed by GitHub
parent 69880ee165
commit d64c339b4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
} }