mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
fix: canceling a bucket while findMonthGroupForAsset is waiting fails (#24898)
This commit is contained in:
@@ -346,7 +346,7 @@ export class TimelineManager extends VirtualScrollManager {
|
|||||||
|
|
||||||
async findMonthGroupForAsset(asset: AssetDescriptor | AssetResponseDto) {
|
async findMonthGroupForAsset(asset: AssetDescriptor | AssetResponseDto) {
|
||||||
if (!this.isInitialized) {
|
if (!this.isInitialized) {
|
||||||
await this.initTask.waitUntilCompletion();
|
await this.initTask.waitUntilExecution();
|
||||||
}
|
}
|
||||||
|
|
||||||
const { id } = asset;
|
const { id } = asset;
|
||||||
|
|||||||
Reference in New Issue
Block a user