Skip fetching diff for a collection that has been deleted
This commit is contained in:
parent
71af57409a
commit
dfad5dd8fa
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ export const fetchFiles = async (
|
|||
for (let collection of collections) {
|
||||
if (collection.isDeleted) {
|
||||
deletedCollection.add(collection.id);
|
||||
continue;
|
||||
}
|
||||
const files = await getFiles(collection, null, 100, token);
|
||||
fetchedFiles.push(...files);
|
||||
|
|
Loading…
Add table
Reference in a new issue