Replace lists by sets in the apply action cache

This commit is contained in:
Jonas Lochmann
2020-09-28 02:00:00 +02:00
parent 8d65c5d777
commit 8ebeadad5a
24 changed files with 55 additions and 46 deletions
@@ -110,10 +110,10 @@ export async function dispatchAddUsedTime ({ action, cache }: {
transaction: cache.transaction
})
cache.categoriesWithModifiedBaseData.push(categoryId)
cache.categoriesWithModifiedBaseData.add(categoryId)
}
cache.categoriesWithModifiedUsedTimes.push(categoryId)
cache.categoriesWithModifiedUsedTimes.add(categoryId)
}
await handleAddUsedTime({