fix localOnly stuck in loop
This commit is contained in:
parent
e0a6cac7cd
commit
173bee6001
|
@ -211,7 +211,7 @@ class DownloadManagerImpl {
|
|||
this.thumbnailObjectURLPromises.set(file.id, thumbURLPromise);
|
||||
}
|
||||
let thumb = await this.thumbnailObjectURLPromises.get(file.id);
|
||||
if (!thumb) {
|
||||
if (!thumb && !localOnly) {
|
||||
this.thumbnailObjectURLPromises.delete(file.id);
|
||||
thumb = await this.getThumbnailForPreview(file, localOnly);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue