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
@@ -51,6 +51,6 @@ export async function dispatchSetCategoryExtraTime ({ action, cache }: {
transaction: cache.transaction
})
cache.categoriesWithModifiedBaseData.push(action.categoryId)
cache.categoriesWithModifiedBaseData.add(action.categoryId)
cache.areChangesImportant = true
}