added if braces
This commit is contained in:
parent
4f32d07f80
commit
dfc5138fe3
1 changed files with 2 additions and 1 deletions
|
@ -84,8 +84,9 @@ export const fetchFiles = async (
|
|||
continue;
|
||||
}
|
||||
const thisCollectionUpdateTime=await localForage.getItem<string>(`${collection.id}-time`);
|
||||
if(collectionsUpdateTime===thisCollectionUpdateTime)
|
||||
if(collectionsUpdateTime===thisCollectionUpdateTime){
|
||||
continue;
|
||||
}
|
||||
let fetchedFiles = await getFiles(collection, null, 100, token)??[];
|
||||
files.push(...fetchedFiles);
|
||||
var latestVersionFiles = new Map<number, file>();
|
||||
|
|
Loading…
Add table
Reference in a new issue