mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
fix: canceling a bucket while findMonthGroupForAsset is waiting fails (#24898)
This commit is contained in:
parent
0df618feee
commit
369a30e227
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue